]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/scl/CompileSCLQueryRequest.java
Variable optimizations for documents (Simupedia)
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / scl / CompileSCLQueryRequest.java
index 8fed128d68f4683c7b172d0b5779c3276d214fec..1cef75ddfec4662394c60850f930fc2ec77a0259 100644 (file)
@@ -38,8 +38,8 @@ public class CompileSCLQueryRequest extends CompileStructuralValueRequest {
         SCLContext sclContext = SCLContext.getCurrent();
         Object oldGraph = sclContext.get("graph");
         try {
-            Function1<Variable,Object> exp = graph.syncRequest(new CompileSCLQueryRequest(graph, context),
-                    TransientCacheListener.<Function1<Variable,Object>>instance());
+            Function1<Object,Object> exp = graph.syncRequest(new CompileSCLQueryRequest(graph, context),
+                    TransientCacheListener.<Function1<Object,Object>>instance());
             sclContext.put("graph", graph);
             return exp.apply(context);
         } catch (DatabaseException e) {