Skip to content

Commit

Permalink
fix checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Sep 3, 2024
1 parent 186c572 commit 3348a70
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
3 changes: 1 addition & 2 deletions src/main/java/de/uzl/lied/mtbexporter/MtbExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
import de.uzl.lied.mtbexporter.jobs.CheckFhirServer;
import de.uzl.lied.mtbexporter.settings.ConfigurationLoader;
import de.uzl.lied.mtbexporter.settings.Settings;
import org.tinylog.Logger;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Timer;
import org.tinylog.Logger;

/**
* Regularily queries FHIR server for new MTB therapie recommendations and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
import de.uzl.lied.mtbexporter.model.Befund;
import de.uzl.lied.mtbexporter.settings.Settings;
import de.uzl.lied.mtbexporter.tasks.CsvExporter;
import org.hl7.fhir.r4.model.Bundle;
import org.hl7.fhir.r4.model.DiagnosticReport;
import org.hl7.fhir.r4.model.Observation;
import org.tinylog.Logger;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
Expand All @@ -28,6 +23,10 @@
import java.util.Date;
import java.util.List;
import java.util.TimerTask;
import org.hl7.fhir.r4.model.Bundle;
import org.hl7.fhir.r4.model.DiagnosticReport;
import org.hl7.fhir.r4.model.Observation;
import org.tinylog.Logger;

/**
* Job that is triggerd to check the FHIR server and start the export.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import com.google.common.io.ByteStreams;
import org.apache.commons.text.StringSubstitutor;
import org.apache.commons.text.lookup.StringLookupFactory;

import java.io.IOException;
import java.io.InputStream;
import java.io.UncheckedIOException;
import java.nio.charset.StandardCharsets;
import org.apache.commons.text.StringSubstitutor;
import org.apache.commons.text.lookup.StringLookupFactory;

/**
* Class that enables the use of environment variables in the settings.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.File;

/**
Expand Down
13 changes: 6 additions & 7 deletions src/main/java/de/uzl/lied/mtbexporter/tasks/CsvExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
import de.uzl.lied.mtbexporter.model.BefTherapieoptionen;
import de.uzl.lied.mtbexporter.model.Befund;
import de.uzl.lied.mtbexporter.model.internal.Alteration;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.hl7.fhir.r4.model.DiagnosticReport;
import org.hl7.fhir.r4.model.Observation;
import org.hl7.fhir.r4.model.Patient;
Expand All @@ -13,13 +19,6 @@
import org.hl7.fhir.r4.model.Specimen;
import org.hl7.fhir.r4.model.Task;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

/**
* Exporter for FHIR IG Genomics-Reporting to UKSH Orbis TKONF MTB form.
*/
Expand Down

0 comments on commit 3348a70

Please sign in to comment.