]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.diagram.profile/src/org/simantics/diagram/profile/view/ResourcePair.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.diagram.profile / src / org / simantics / diagram / profile / view / ResourcePair.java
index 3aab7e20469d966048d29567ce908ee6f587a600..c64149920069f8c29c71a16f36164577f20b3ae8 100644 (file)
@@ -1,22 +1,22 @@
-package org.simantics.diagram.profile.view;\r
-\r
-import org.eclipse.core.runtime.IAdaptable;\r
-import org.simantics.db.Resource;\r
-import org.simantics.utils.datastructures.map.Tuple;\r
-\r
-public class ResourcePair extends Tuple implements IAdaptable{\r
-    ResourcePair(Resource first, Resource second) { super(first ,second); }\r
-    public Resource getFirst() { return (Resource) getField(0); }\r
-    public Resource getSecond() { return (Resource) getField(1); }\r
-       \r
-    @SuppressWarnings("rawtypes")\r
-       @Override\r
-       public Object getAdapter(Class adapter) {\r
-               if (adapter == Resource.class) {\r
-                       return getSecond();\r
-               }\r
-               return null;\r
-       }\r
-    \r
-    \r
+package org.simantics.diagram.profile.view;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.simantics.db.Resource;
+import org.simantics.utils.datastructures.map.Tuple;
+
+public class ResourcePair extends Tuple implements IAdaptable{
+    ResourcePair(Resource first, Resource second) { super(first ,second); }
+    public Resource getFirst() { return (Resource) getField(0); }
+    public Resource getSecond() { return (Resource) getField(1); }
+       
+    @SuppressWarnings("rawtypes")
+       @Override
+       public Object getAdapter(Class adapter) {
+               if (adapter == Resource.class) {
+                       return getSecond();
+               }
+               return null;
+       }
+    
+    
 }
\ No newline at end of file