Skip to content

Commit

Permalink
Remove more deprecated FHIR core APIs (#1421)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival authored Oct 7, 2024
1 parent 533b7f6 commit 4e3be26
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.hl7.fhir.convertors.conv30_50.VersionConvertor_30_50;
import org.hl7.fhir.convertors.conv40_50.VersionConvertor_40_50;
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.r5.context.IWorkerContext;
import org.hl7.fhir.r5.context.ILoggingService;
import org.hl7.fhir.r5.elementmodel.Manager;
import org.hl7.fhir.r5.model.ImplementationGuide;
import org.hl7.fhir.utilities.IniFile;
Expand All @@ -19,9 +19,9 @@

public class IGContext {

private IWorkerContext.ILoggingService logger;
private ILoggingService logger;

public IWorkerContext.ILoggingService getLogger() {
public ILoggingService getLogger() {
return logger;
}

Expand Down Expand Up @@ -65,7 +65,7 @@ protected void setBinaryPaths(List<String> binaryPaths) {
this.binaryPaths = binaryPaths;
}

public IGContext(IWorkerContext.ILoggingService logger) {
public IGContext(ILoggingService logger) {
this.logger = logger;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.cqframework.fhir.utilities;

import org.hl7.fhir.r5.context.IWorkerContext;
import org.hl7.fhir.r5.context.ILoggingService;
import org.slf4j.Logger;

public class LoggerAdapter implements IWorkerContext.ILoggingService {
public class LoggerAdapter implements ILoggingService {
private Logger innerLogger;

public LoggerAdapter(Logger innerLogger) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.hl7.fhir.r5.context.IWorkerContext;
import org.hl7.fhir.r5.context.ILoggingService;
import org.junit.jupiter.api.Test;

public class TestIGContext implements IWorkerContext.ILoggingService {
public class TestIGContext implements ILoggingService {

@Test
void typesAndValuesIG() throws URISyntaxException {
Expand Down
2 changes: 2 additions & 0 deletions Src/java/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ org.gradle.caching=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx4096m

systemProp.sonar.gradle.skipCompile=true

group=info.cqframework
version=3.17.0-SNAPSHOT
specification.version=1.5.2
Expand Down

0 comments on commit 4e3be26

Please sign in to comment.