]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.history/src/org/simantics/history/csv/ColumnSeparator.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.history / src / org / simantics / history / csv / ColumnSeparator.java
index 0d6348c94b181395841814e34f5ffc7fa83198f6..003f4ebe96bf39ec9dfa0e2f41dc163f0d65607b 100644 (file)
@@ -1,24 +1,24 @@
-package org.simantics.history.csv;\r
-\r
-\r
-public enum ColumnSeparator {\r
-       COMMA("Comma (,)", ","),TAB("Tabulator (\\t)","\t"),SEMICOLON("Semicolon (;)",";"),COLON("Colon (:)",":"),SPACE("Space ( )", " ");\r
-       public String label;\r
-       public String preference;\r
-       ColumnSeparator(String label, String preference) {\r
-               this.label = label;\r
-               this.preference = preference;\r
-       }\r
-       public static ColumnSeparator fromIndex(int index) {\r
-               return values()[index];\r
-       }\r
-       public String toPreference() {\r
-               return preference;\r
-       }\r
-       public static ColumnSeparator fromPreference(String preference) {\r
-               for(ColumnSeparator s : values()) {\r
-                       if(s.preference.equals(preference)) return s;\r
-               }\r
-               return COMMA;\r
-       }\r
+package org.simantics.history.csv;
+
+
+public enum ColumnSeparator {
+       COMMA("Comma (,)", ","),TAB("Tabulator (\\t)","\t"),SEMICOLON("Semicolon (;)",";"),COLON("Colon (:)",":"),SPACE("Space ( )", " ");
+       public String label;
+       public String preference;
+       ColumnSeparator(String label, String preference) {
+               this.label = label;
+               this.preference = preference;
+       }
+       public static ColumnSeparator fromIndex(int index) {
+               return values()[index];
+       }
+       public String toPreference() {
+               return preference;
+       }
+       public static ColumnSeparator fromPreference(String preference) {
+               for(ColumnSeparator s : values()) {
+                       if(s.preference.equals(preference)) return s;
+               }
+               return COMMA;
+       }
 }
\ No newline at end of file