import java.util.Arrays;
-import org.simantics.db.procore.cluster.ClusterImpl;
import org.simantics.db.service.Bytes;
import org.simantics.db.service.ClusterUID;
-class ClusterChange2 {
+public class ClusterChange2 {
public static final int VERSION = 2;
public static final byte SET_IMMUTABLE_OPERATION = 1; // <byte : 0 = false>
public static final byte UNDO_VALUE_OPERATION = 2; // <int : resource index>
private byte[] bytes;
private int byteIndex;
private ClusterUID clusterUID;
- ClusterChange2(ClusterUID clusterUID, ClusterImpl cluster) {
+ ClusterChange2(ClusterUID clusterUID) {
this.clusterUID = clusterUID;
init();
}