]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.ui/src/org/simantics/document/ui/test/DocumentOldTest.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.document.ui / src / org / simantics / document / ui / test / DocumentOldTest.java
index 0b902b801245d86f88b0d4c01ca26a5e0d169586..e27536ac8fe366d72e308149e9b23900e73402eb 100644 (file)
@@ -1,24 +1,24 @@
-package org.simantics.document.ui.test;\r
-\r
-import org.simantics.browsing.ui.model.tests.Test;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.document.DocumentResource;\r
-\r
-public class DocumentOldTest implements Test{\r
-       \r
-       @Override\r
-       public boolean isCompatible(Class<?> contentType) {\r
-               return contentType == Resource.class;\r
-       }\r
-       \r
-       @Override\r
-       public boolean test(ReadGraph graph, Object content)\r
-                       throws DatabaseException {\r
-               Resource resource = (Resource)content;\r
-               DocumentResource doc = DocumentResource.getInstance(graph);\r
-               return graph.hasStatement(resource, doc.HasNewerVersion);\r
-       }\r
-\r
-}\r
+package org.simantics.document.ui.test;
+
+import org.simantics.browsing.ui.model.tests.Test;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.document.DocumentResource;
+
+public class DocumentOldTest implements Test{
+       
+       @Override
+       public boolean isCompatible(Class<?> contentType) {
+               return contentType == Resource.class;
+       }
+       
+       @Override
+       public boolean test(ReadGraph graph, Object content)
+                       throws DatabaseException {
+               Resource resource = (Resource)content;
+               DocumentResource doc = DocumentResource.getInstance(graph);
+               return graph.hasStatement(resource, doc.HasNewerVersion);
+       }
+
+}