Warning level "None" wasn't working.

This commit is contained in:
dchandler 2003-10-04 16:12:48 +00:00
parent b10098cc61
commit 6a11eddb1e

View file

@ -381,10 +381,12 @@ public class ACIPConverter {
errors.append(errorMessage + "\n");
} else {
lastGuy = sl;
String warning
= pt.getWarning(warningLevel,
pl,
s.getText());
String warning = null;
if ("None" != warningLevel) {
warning = pt.getWarning(warningLevel,
pl,
s.getText());
}
if (null != warning) {
if (writeWarningsToOut) {
String text