diff options
Diffstat (limited to 'store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java')
-rw-r--r-- | store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java b/store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java index 7d1682b2..fa6a59ab 100644 --- a/store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java +++ b/store/src/main/java/org/eclipse/viatra/solver/data/query/internal/RelationalRuntimeContext.java | |||
@@ -37,7 +37,6 @@ public class RelationalRuntimeContext implements IQueryRuntimeContext { | |||
37 | return metaContext; | 37 | return metaContext; |
38 | } | 38 | } |
39 | 39 | ||
40 | // | ||
41 | /** | 40 | /** |
42 | * TODO: check {@link NavigationHelperImpl#coalesceTraversals(Callable)} | 41 | * TODO: check {@link NavigationHelperImpl#coalesceTraversals(Callable)} |
43 | */ | 42 | */ |
@@ -57,8 +56,7 @@ public class RelationalRuntimeContext implements IQueryRuntimeContext { | |||
57 | 56 | ||
58 | @Override | 57 | @Override |
59 | public boolean isIndexed(IInputKey key, IndexingService service) { | 58 | public boolean isIndexed(IInputKey key, IndexingService service) { |
60 | if(key instanceof RelationView<?>) { | 59 | if(key instanceof RelationView<?> relationalKey) { |
61 | RelationView<?> relationalKey = (RelationView<?>) key; | ||
62 | return this.relationUpdateListener.containsRelationalView(relationalKey); | 60 | return this.relationUpdateListener.containsRelationalView(relationalKey); |
63 | } else { | 61 | } else { |
64 | return false; | 62 | return false; |