Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Sep 30, 2024
1 parent 2e90127 commit ced7612
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,10 @@ public Integer call() throws Exception {
for (LibraryParameter library : libraries) {
var libraryPath = Paths.get(Uris.parseOrNull(library.libraryUrl));

var modelPath = library.model != null
? Paths.get(Uris.parseOrNull(library.model.modelUrl))
: null;
var modelPath = library.model != null ? Paths.get(Uris.parseOrNull(library.model.modelUrl)) : null;

var terminologyPath = library.terminologyUrl != null
? Paths.get(Uris.parseOrNull(library.terminologyUrl))
: null;
var terminologyPath =
library.terminologyUrl != null ? Paths.get(Uris.parseOrNull(library.terminologyUrl)) : null;

var repository = createRepository(fhirContext, terminologyPath, modelPath);
var engine = Engines.forRepositoryAndSettings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public Map<URI, Set<Diagnostic>> lint(URI uri) {

log.debug("lint completed on {} with {} messages.", uri, exceptions.size());


List<VersionedIdentifier> uniqueLibraries = exceptions.stream()
.map(x -> x.getLocator().getLibrary())
.distinct()
Expand Down

0 comments on commit ced7612

Please sign in to comment.