Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }