]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java
Yet another fixing commit
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / CacheEntryBase.java
index 1506b54afc3041eacc2cc7718505960b64f34654..8c43135732288a1ac70a6529ab97bf5e0b358007 100644 (file)
@@ -108,14 +108,14 @@ abstract public class CacheEntryBase<Procedure> extends CacheEntry<Procedure> {
     }
 
     @Override
-    public void except(Throwable t) {
+    public void except(Throwable throwable) {
        if(DebugPolicy.QUERY_STATE) System.out.println("[QUERY STATE]: excepted " + this);
        if(statusOrException != DISCARDED) {
                statusOrException = EXCEPTED;
-               result = t;
+               result = throwable;
        } else {
-               LOGGER.warn("Cache entry got excepted status after being discarded: " + getClass().getSimpleName(), t);
-               result = t;
+               LOGGER.warn("Cache entry got excepted status after being discarded: " + getClass().getSimpleName(), throwable);
+               result = throwable;
        }
     }
     
@@ -460,6 +460,6 @@ abstract public class CacheEntryBase<Procedure> extends CacheEntry<Procedure> {
        public CacheEntryBase() {
        }
        
-    abstract public Object compute(ReadGraphImpl graph, Procedure procedure) throws DatabaseException;
+    //abstract public Object compute(ReadGraphImpl graph, Procedure procedure) throws DatabaseException;
     
 }