Refactored so that there can be an EWTS scanner and an ACIP scanner.
This commit is contained in:
parent
7854e4fd93
commit
4c268c5ea2
6 changed files with 171 additions and 109 deletions
|
@ -333,8 +333,8 @@ public class TibTextUtils implements THDLWylieConstants {
|
|||
{
|
||||
StringBuffer errors = new StringBuffer();
|
||||
String warningLevel = withWarnings ? "All" : "None";
|
||||
ArrayList al = ACIPTshegBarScanner.scan(acip, errors, 500, false,
|
||||
warningLevel);
|
||||
ArrayList al = ACIPTshegBarScanner.instance().scan(acip, errors, 500,
|
||||
false, warningLevel);
|
||||
if (null == al || errors.length() > 0) {
|
||||
if (errors.length() > 0)
|
||||
throw new InvalidACIPException(errors.toString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue