typo fix in name
This commit is contained in:
parent
0f3e8be43b
commit
24656a20fa
|
@ -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 + "]";
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue