]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.issues/src/org/simantics/issues/Severity.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.issues / src / org / simantics / issues / Severity.java
index a28c6a54907066000883b29503fe2440b684968b..79fde53c819dc2ba32f55935e3f5c1577b5209c9 100644 (file)
@@ -1,16 +1,16 @@
-package org.simantics.issues;\r
-\r
-/**\r
- * Issue severities, from most severe to the least severe.\r
- */\r
-public enum Severity {\r
-    FATAL, ERROR, WARNING, INFO, NOTE, UNKNOWN;\r
-\r
-    public static Severity moreSevere(Severity s1, Severity s2) {\r
-        if (s1 == null)\r
-            return s2;\r
-        if (s2 == null)\r
-            return s1;\r
-        return (s1.ordinal() < s2.ordinal()) ? s1 : s2;\r
-    }\r
+package org.simantics.issues;
+
+/**
+ * Issue severities, from most severe to the least severe.
+ */
+public enum Severity {
+    FATAL, ERROR, WARNING, INFO, NOTE, UNKNOWN;
+
+    public static Severity moreSevere(Severity s1, Severity s2) {
+        if (s1 == null)
+            return s2;
+        if (s2 == null)
+            return s1;
+        return (s1.ordinal() < s2.ordinal()) ? s1 : s2;
+    }
 }
\ No newline at end of file