private List<String> myErrors = new ArrayList<String>(1);
@Override
public boolean process(ValidationProblem problem) {
if (problem.getSeverity()== Severity.ERROR){
myErrors.add(problem.getMessage());
<BUG>} else{
</BUG>
myWarnings.add(problem.getMessage());
}
return true;

private List<String> myErrors = new ArrayList<String>(1);
@Override
public boolean process(ValidationProblem problem) {
if (problem.getSeverity()== Severity.ERROR){
myErrors.add(problem.getMessage());
} else {
myWarnings.add(problem.getMessage());
}
return true;
