X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FQueryCacheBase.java;h=322e820a2aa76fe0eda4f0bfdc2f971d472d30da;hb=a6c431919eb2ef9a06623cf0b9daa1fd5a04669c;hp=a75d6901079fa6d4bab47e41fe24c8524825c5fe;hpb=1f8b50d81a1aa1bbd67a77f7cbc1060f2eb805d4;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java index a75d69010..322e820a2 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCacheBase.java @@ -635,9 +635,7 @@ public class QueryCacheBase { } } - public static void waitPending(ReadGraphImpl graph, CacheEntry entry) throws DatabaseException { - - QueryProcessor processor = graph.processor; + public static void waitPending(QueryProcessor processor, CacheEntry entry) throws DatabaseException { int counter = 0; while(entry.isPending()) {