Skip to content

Commit 6fa02d3

Browse files
committed
revert getOrDefault for systems check
1 parent cbd96e2 commit 6fa02d3

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

apps/bfd-db-migrator-ng/migrations/V1_34_0__add_prvdr_prior_auth_item.sql renamed to apps/bfd-db-migrator-ng/migrations/V1_35_0__add_prvdr_prior_auth_item.sql

File renamed without changes.

apps/bfd-server-ng/src/main/java/gov/cms/bfd/server/ng/eob/EobHandler.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@ private boolean codeIsSamhsa(
342342
return systems.stream()
343343
.filter(system -> !NONSENSITIVE_SYSTEMS.contains(system))
344344
.flatMap(
345-
system ->
346-
SECURITY_LABELS.getOrDefault(system, List.of()).stream()
347-
.map(label -> Map.entry(system, label)))
345+
system -> SECURITY_LABELS.get(system).stream().map(label -> Map.entry(system, label)))
348346
.anyMatch(entry -> isCodeSamhsa(code, date, entry.getValue(), type, id, entry.getKey()));
349347
}
350348

0 commit comments

Comments
 (0)