Improved error messages.

This commit is contained in:
Simone Bordet 2016-10-19 16:32:16 +02:00
parent b2c62b648f
commit a5d4518f94
1 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ public class Module implements Comparable<Module>
_license.add(line);
break;
case "NAME":
StartLog.warn("Deprecated [Name] used in %s",basehome.toShortForm(_path));
StartLog.warn("Deprecated [name] used in %s",basehome.toShortForm(_path));
_provides.add(line);
break;
case "PROVIDE":
@ -377,7 +377,7 @@ public class Module implements Comparable<Module>
_xmls.add(line);
break;
default:
throw new IOException("Unrecognized Module section: [" + sectionType + "]");
throw new IOException("Unrecognized module section: [" + sectionType + "]");
}
}
}