]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/adapters/SCLTest.java
Variable support in SCLTest (BrowseContext)
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / adapters / SCLTest.java
index 7f87f3cd9eee1c1856d7da554d1ebe64d28fdec1..b056f99a6fa532fb0d72c969d4fc8cc9ea07c2a1 100644 (file)
@@ -36,7 +36,7 @@ public class SCLTest implements Test {
         Object oldGraph = sclContext.get("graph");
         try {
             sclContext.put("graph", graph);
-            Object value = test.apply((Resource)content);
+            Object value = test.apply(content);
             return (Boolean)value;
         } catch (Throwable t) {
                throw new DatabaseException(t);