package cogroo.uima.eval;
public class Error implements Comparable<Error> {
private final int start;
private final int end;
private final String type;
<BUG>private String ruleId;
public Error(int s, int e, String type) {
</BUG>
if (s < 0 || e < 0)
throw new IllegalArgumentException(

package cogroo.uima.eval;
public class Error implements Comparable<Error> {
private final int start;
private final int end;
private final String type;
private String ruleId;
private final String suggestion;
public Error(int s, int e, String type, String suggestion) {
if (s < 0 || e < 0)
throw new IllegalArgumentException(
