private void logNotice(SpecElement element, SpecProperty prop, String action) throws IOException { String msg = element.getTypeName() + " Property " + element.name + "." + prop.name + ": " + action; log.println("Notice: " + msg); System.err.println(msg); prop.addIssue(action); }
private void logMismatch( SpecElement element, SpecProperty prop, String attrName, String specValue, String romValue) throws IOException { String action = attrName + ": \"" + specValue + "\" does not match rom.def value \"" + romValue + "\""; String msg = element.getTypeName() + " Property " + element.name + "." + prop.name + "." + action; log.println("Notice: " + msg); System.err.println(msg); prop.addIssue(action); }