]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java
Some enhancements made by Antti for multiple readers
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / SuperRelations.java
index 479bd71cd4d7bb6d48303c3c38688690678f379e..0f076fb34ddb13823ea08389e78def15df14ee30 100644 (file)
@@ -37,7 +37,6 @@ final public class SuperRelations extends UnaryQuery<InternalProcedure<IntSet>>
        }
        
        static int histoCounter = 0;
-       static IntSet EMPTY_SET = new IntSet();
     static int counter = 0;
     
     class Koss {
@@ -121,8 +120,8 @@ final public class SuperRelations extends UnaryQuery<InternalProcedure<IntSet>>
 
            if(size == 0) {
 
-               addOrSet(graph, EMPTY_SET, processor);
-               proc.execute(graph, EMPTY_SET);
+               addOrSet(graph, IntSet.EMPTY, processor);
+               proc.execute(graph, IntSet.EMPTY);
 
            } else if (size == 1) {