]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/SpreadsheetSCLConstant.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / src / org / simantics / spreadsheet / graph / SpreadsheetSCLConstant.java
index 0986f783359faf591bc61d5d30f0c7643235e74b..e8d38b2c592d71bdcfa135e24fe78a18c69cecc1 100644 (file)
@@ -1,52 +1,52 @@
-package org.simantics.spreadsheet.graph;\r
-\r
-import java.io.Serializable;\r
-\r
-import org.simantics.databoard.Bindings;\r
-import org.simantics.databoard.binding.Binding;\r
-\r
-public class SpreadsheetSCLConstant implements Serializable {\r
-\r
-    private static final long serialVersionUID = 428064772427245449L;\r
-\r
-    public String expression;\r
-    public Object content;\r
-    \r
-    public static final Binding BINDING = Bindings.getBindingUnchecked(SpreadsheetSCLConstant.class);\r
-\r
-    public SpreadsheetSCLConstant(String expression, Object object) {\r
-        this.content = object;\r
-        this.expression = expression;\r
-    }\r
-    \r
-    @Override\r
-    public String toString() {\r
-        return super.toString();\r
-    }\r
-\r
-    @Override\r
-    public int hashCode() {\r
-        final int prime = 31;\r
-        int result = 1;\r
-        result = prime * result + ((expression == null) ? 0 : expression.hashCode());\r
-        return result;\r
-    }\r
-\r
-    @Override\r
-    public boolean equals(Object obj) {\r
-        if (this == obj)\r
-            return true;\r
-        if (obj == null)\r
-            return false;\r
-        if (getClass() != obj.getClass())\r
-            return false;\r
-        SpreadsheetSCLConstant other = (SpreadsheetSCLConstant) obj;\r
-        if (expression == null) {\r
-            if (other.expression != null)\r
-                return false;\r
-        } else if (!expression.equals(other.expression))\r
-            return false;\r
-        return true;\r
-    }\r
-\r
-}\r
+package org.simantics.spreadsheet.graph;
+
+import java.io.Serializable;
+
+import org.simantics.databoard.Bindings;
+import org.simantics.databoard.binding.Binding;
+
+public class SpreadsheetSCLConstant implements Serializable {
+
+    private static final long serialVersionUID = 428064772427245449L;
+
+    public String expression;
+    public Object content;
+    
+    public static final Binding BINDING = Bindings.getBindingUnchecked(SpreadsheetSCLConstant.class);
+
+    public SpreadsheetSCLConstant(String expression, Object object) {
+        this.content = object;
+        this.expression = expression;
+    }
+    
+    @Override
+    public String toString() {
+        return super.toString();
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((expression == null) ? 0 : expression.hashCode());
+        return result;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        SpreadsheetSCLConstant other = (SpreadsheetSCLConstant) obj;
+        if (expression == null) {
+            if (other.expression != null)
+                return false;
+        } else if (!expression.equals(other.expression))
+            return false;
+        return true;
+    }
+
+}