Fix misc warnings flagged by builds (#1772)

This commit is contained in:
dotasek 2024-10-07 17:16:21 -04:00 committed by GitHub
parent 7432d3cd06
commit 6439a2a732
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View File

@ -13,6 +13,7 @@ import java.util.List;
Due to a circular dependency, they cannot be updated without a release of HAPI, which requires backwards Due to a circular dependency, they cannot be updated without a release of HAPI, which requires backwards
compatibility with core version 6.1.2.2 compatibility with core version 6.1.2.2
**/ **/
@Deprecated
public class ExpressionNode extends org.hl7.fhir.r5.fhirpath.ExpressionNode{ public class ExpressionNode extends org.hl7.fhir.r5.fhirpath.ExpressionNode{
private final org.hl7.fhir.r5.fhirpath.ExpressionNode wrappedExpressionNode; private final org.hl7.fhir.r5.fhirpath.ExpressionNode wrappedExpressionNode;

View File

@ -13,6 +13,7 @@ import java.util.List;
Due to a circular dependency, they cannot be updated without a release of HAPI, which requires backwards Due to a circular dependency, they cannot be updated without a release of HAPI, which requires backwards
compatibility with core version 6.1.2.2 compatibility with core version 6.1.2.2
**/ **/
@Deprecated
public class FHIRPathEngine extends org.hl7.fhir.r5.fhirpath.FHIRPathEngine { public class FHIRPathEngine extends org.hl7.fhir.r5.fhirpath.FHIRPathEngine {
public interface IEvaluationContext extends org.hl7.fhir.r5.fhirpath.FHIRPathEngine.IEvaluationContext{ } public interface IEvaluationContext extends org.hl7.fhir.r5.fhirpath.FHIRPathEngine.IEvaluationContext{ }

View File

@ -587,8 +587,8 @@ public class BaseValidator implements IValidationContextResourceLoader, IMessagi
*/ */
protected boolean ruleHtml(List<ValidationMessage> errors, String ruleDate, IssueType type, String path, boolean thePass, String msg, String html) { protected boolean ruleHtml(List<ValidationMessage> errors, String ruleDate, IssueType type, String path, boolean thePass, String msg, String html) {
if (!thePass && doingErrors()) { if (!thePass && doingErrors()) {
msg = context.formatMessage(msg, null); msg = context.formatMessage(msg);
html = context.formatMessage(html, null); html = context.formatMessage(html);
addValidationMessage(errors, ruleDate, type, path, msg, html, IssueSeverity.ERROR, null); addValidationMessage(errors, ruleDate, type, path, msg, html, IssueSeverity.ERROR, null);
} }
return thePass; return thePass;

View File

@ -208,7 +208,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
@Getter @Setter private String version; @Getter @Setter private String version;
@Getter @Setter private String language; @Getter @Setter private String language;
@Setter private FilesystemPackageCacheManager pcm; @Setter private FilesystemPackageCacheManager pcm;
@Getter @Setter private PrintWriter mapLog; @Getter private PrintWriter mapLog;
@Getter @Setter private boolean debug = false; @Getter @Setter private boolean debug = false;
@Getter @Setter private IValidatorResourceFetcher fetcher; @Getter @Setter private IValidatorResourceFetcher fetcher;
@Getter @Setter private IValidationPolicyAdvisor policyAdvisor; @Getter @Setter private IValidationPolicyAdvisor policyAdvisor;