]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ResourcePropertyVariableAdapter.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / variable / ResourcePropertyVariableAdapter.java
index c65f57b9dae24c59b7537b7283560874e0067bf8..fc5c32d684ecf763c4a9e151b1876112d2b03df9 100644 (file)
@@ -1,15 +1,15 @@
-package org.simantics.db.layer0.variable;\r
-\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.common.adaption.SimpleContextualAdapter;\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-public class ResourcePropertyVariableAdapter extends SimpleContextualAdapter<Variable, ModelledVariablePropertyDescriptor> {\r
-\r
-       @Override\r
-       public Variable adapt(ReadGraph graph, Resource source, ModelledVariablePropertyDescriptor context) throws DatabaseException {\r
-               return new StandardGraphResourcePropertyVariable(graph, context.getVariable(), context.getSubject(), context.getProperty());\r
-       }\r
-\r
-}\r
+package org.simantics.db.layer0.variable;
+
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.common.adaption.SimpleContextualAdapter;
+import org.simantics.db.exception.DatabaseException;
+
+public class ResourcePropertyVariableAdapter extends SimpleContextualAdapter<Variable, ModelledVariablePropertyDescriptor> {
+
+       @Override
+       public Variable adapt(ReadGraph graph, Resource source, ModelledVariablePropertyDescriptor context) throws DatabaseException {
+               return new StandardGraphResourcePropertyVariable(graph, context.getVariable(), context.getSubject(), context.getProperty());
+       }
+
+}