X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FSuperRelations.java;h=b8d29b7e6ea995299e9baa11cc6c6c1be4a78c11;hb=68ce0966a57f5153b133c6283fdbae10f683b745;hp=479bd71cd4d7bb6d48303c3c38688690678f379e;hpb=ad18bf76b19bec530bc68c6041ab5fb245b8ee4d;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java index 479bd71cd..b8d29b7e6 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/SuperRelations.java @@ -37,7 +37,6 @@ final public class SuperRelations extends UnaryQuery> } 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> } - @Override + //@Override public Object compute(final ReadGraphImpl graph, final InternalProcedure procedure) throws DatabaseException { QueryProcessor processor = graph.processor; @@ -121,8 +120,8 @@ final public class SuperRelations extends UnaryQuery> 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) {