ValidationEngine::validate(): print source file getRef() instead of Object::toString()
`ValidationUtils.SourceFile` does not override Java's default implementation of `toString()`, which is why `validate()' currently prints "Validate org.hl7.fhir.validation.ValidatorUtils$SourceFile@5382184b" or something like that.
This commit is contained in:
parent
ff44e50fc3
commit
26eb05219a
|
@ -598,7 +598,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
|
|||
if (ref.isProcess() || all) {
|
||||
TimeTracker.Session tts = context.clock().start("validation");
|
||||
context.clock().milestone();
|
||||
System.out.println(" Validate " + ref);
|
||||
System.out.println(" Validate " + ref.getRef());
|
||||
|
||||
try {
|
||||
OperationOutcome outcome = validate(ref.getRef(), ref.getCnt().getFocus(), ref.getCnt().getCntType(), profiles, record);
|
||||
|
@ -1183,4 +1183,4 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue