]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/IsActive.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / request / IsActive.java
index 019228a50a876447fc24d2a4a989b6e98861efda..5b04ab688cab228ea679933880c50e9cff75695a 100644 (file)
@@ -1,20 +1,20 @@
-package org.simantics.db.layer0.request;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.common.request.ResourceRead;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.operation.Layer0X;\r
-\r
-public class IsActive extends ResourceRead<Boolean> {\r
-\r
-    public IsActive(Resource resource) {\r
-        super(resource);\r
-    }\r
-\r
-    @Override\r
-    public Boolean perform(ReadGraph graph) throws DatabaseException {\r
-       return graph.hasStatement(resource, Layer0X.getInstance(graph).IsActivatedBy);\r
-    }\r
-\r
-}\r
+package org.simantics.db.layer0.request;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.common.request.ResourceRead;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.operation.Layer0X;
+
+public class IsActive extends ResourceRead<Boolean> {
+
+    public IsActive(Resource resource) {
+        super(resource);
+    }
+
+    @Override
+    public Boolean perform(ReadGraph graph) throws DatabaseException {
+       return graph.hasStatement(resource, Layer0X.getInstance(graph).IsActivatedBy);
+    }
+
+}