typo fix in name

This commit is contained in:
Grahame Grieve 2022-11-15 18:13:45 +11:00
parent 0f3e8be43b
commit 24656a20fa
2 changed files with 6 additions and 1 deletions

View File

@ -1195,6 +1195,11 @@ public class NpmPackage {
res.checkThrowException();
return fromPackage(new ByteArrayInputStream(res.getContent()));
}
@Override
public String toString() {
return "NpmPackage "+name()+"#"+version()+" [path=" + path + "]";
}
}

View File

@ -5786,7 +5786,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
ei.definition.getSlicing().getRules().equals(ElementDefinition.SlicingRules.OPENATEND) && true /* TODO: replace "true" with condition to check that this element is at "end" */) {
slicingHint(errors, IssueType.INFORMATIONAL, ei.line(), ei.col(), ei.getPath(), false, isProfile(slicer) || isCritical(ei.sliceInfo),
context.formatMessage(I18nConstants.THIS_ELEMENT_DOES_NOT_MATCH_ANY_KNOWN_SLICE_,
profile == null ? "" : " defined in the profile " + profile.getVersionedUrl()),
profile == null ? "" : "defined in the profile " + profile.getVersionedUrl()),
context.formatMessage(I18nConstants.THIS_ELEMENT_DOES_NOT_MATCH_ANY_KNOWN_SLICE_, profile == null ? "" : I18nConstants.DEFINED_IN_THE_PROFILE + profile.getVersionedUrl()) + errorSummaryForSlicingAsHtml(ei.sliceInfo),
errorSummaryForSlicingAsText(ei.sliceInfo));
} else if (ei.definition.getSlicing().getRules().equals(ElementDefinition.SlicingRules.CLOSED)) {