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