1 package org.simantics.issues;
\r
4 * Issue severities, from most severe to the least severe.
\r
6 public enum Severity {
\r
7 FATAL, ERROR, WARNING, INFO, NOTE, UNKNOWN;
\r
9 public static Severity moreSevere(Severity s1, Severity s2) {
\r
14 return (s1.ordinal() < s2.ordinal()) ? s1 : s2;
\r