]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/tuple/Tuple0.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.scl.runtime / src / org / simantics / scl / runtime / tuple / Tuple0.java
old mode 100755 (executable)
new mode 100644 (file)
index 7b6a56a..ab79f10
@@ -1,27 +1,27 @@
-package org.simantics.scl.runtime.tuple;\r
-\r
-public enum Tuple0 implements Tuple {\r
-    INSTANCE;\r
-    \r
-    private static final Object[] EMPTY_ARRAY = new Object[0];\r
-\r
-    @Override\r
-    public int length() {       \r
-        return 0;\r
-    }\r
-\r
-    @Override\r
-    public Object get(int id) {\r
-        throw new IndexOutOfBoundsException();\r
-    }\r
-\r
-    @Override\r
-    public Object[] toArray() {\r
-        return EMPTY_ARRAY;\r
-    }\r
-    \r
-    @Override\r
-    public String toString() {\r
-        return "()";\r
-    }\r
-}\r
+package org.simantics.scl.runtime.tuple;
+
+public enum Tuple0 implements Tuple {
+    INSTANCE;
+    
+    private static final Object[] EMPTY_ARRAY = new Object[0];
+
+    @Override
+    public int length() {       
+        return 0;
+    }
+
+    @Override
+    public Object get(int id) {
+        throw new IndexOutOfBoundsException();
+    }
+
+    @Override
+    public Object[] toArray() {
+        return EMPTY_ARRAY;
+    }
+    
+    @Override
+    public String toString() {
+        return "()";
+    }
+}