Remove error in ClusterChange isLoaded() 85/1985/1
authorMiro Richard Eklund <miro.eklund@semantum.fi>
Fri, 3 Aug 2018 11:02:17 +0000 (14:02 +0300)
committerMiro Richard Eklund <miro.eklund@semantum.fi>
Fri, 3 Aug 2018 11:02:17 +0000 (14:02 +0300)
gitlab #75

Change-Id: I2014788d390d581a9b185f2a25150619895f4acb

bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/ClusterChange.java

index fa0b0797f2a2e0e1c4fb34d8af4cbea3bf4c9ea4..5a1dea2b9dc7117f343397aba07eb00e908bcac2 100644 (file)
@@ -57,9 +57,6 @@ public final class ClusterChange {
        
         this.clusterImpl = clusterImpl;
 
-        if (!clusterImpl.isLoaded())
-            new IllegalStateException("Change to proxy cluster " + clusterImpl.getClusterUID()).printStackTrace();
-
         clusterUID = clusterImpl.getClusterUID();
         long[] longs = new long[ClusterUID.getLongLength()];
         clusterUID.toLong(longs, 0);