]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Remove error in ClusterChange isLoaded() 87/1987/1
authorMiro Richard Eklund <miro.eklund@semantum.fi>
Fri, 3 Aug 2018 11:02:17 +0000 (14:02 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 3 Aug 2018 11:25:54 +0000 (11:25 +0000)
gitlab #75

Change-Id: I2014788d390d581a9b185f2a25150619895f4acb
(cherry picked from commit 85eac68ed3cae0996c54b536a2f2a49abf8fc303)

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);