]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java
Still working for multiple readers
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / SuperRelations.java
index 479bd71cd4d7bb6d48303c3c38688690678f379e..b8d29b7e6ea995299e9baa11cc6c6c1be4a78c11 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 {
@@ -70,7 +69,7 @@ final public class SuperRelations extends UnaryQuery<InternalProcedure<IntSet>>
         
     }
 
-       @Override
+       //@Override
        public Object compute(final ReadGraphImpl graph, final InternalProcedure<IntSet> procedure) throws DatabaseException {
 
                QueryProcessor processor = graph.processor;
@@ -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) {