예제 #1
0
 public boolean isEqualWith(final CheckerError other) {
   return getShortDesc().equals(other.getShortDesc())
       && getFullDesc().equals(other.getFullDesc())
       && getImportance() == other.getImportance()
       && getCheckerName().equals(other.getCheckerName())
       && getTraces().equals(other.getTraces());
 }
예제 #2
0
 @Override
 public int compareTo(CheckerError other) {
   return getImportance() - other.getImportance();
 }