fix terminology warning problem

This commit is contained in:
Grahame Grieve 2020-12-15 16:11:32 +11:00
parent 97838733ec
commit f5c54d0d6d
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
return true; return true;
if (s.isOk()) { if (s.isOk()) {
if (s.getMessage() != null) if (s.getMessage() != null)
throw new Error("Internal error: ok, but has error message '"+s.getMessage()+"'"); txWarning(errors, s.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, s == null, I18nConstants.TERMINOLOGY_PASSTHROUGH_TX_MESSAGE, s.getMessage(), system, code);
return true; return true;
} }
if (s.getErrorClass() != null && s.getErrorClass().isInfrastructure()) if (s.getErrorClass() != null && s.getErrorClass().isInfrastructure())