Skip to content

Commit

Permalink
Removed unnecessary logic
Browse files Browse the repository at this point in the history
  • Loading branch information
basiliskus committed Dec 23, 2024
1 parent e74266f commit b845dcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static String parseMessageFieldValue(HL7Message message, HL7Path hl7Path)
List<String> fields = message.getSegment(hl7Path.segmentName()).fields();
char[] delimiters = message.getEncoding().getOrderedDelimiters();

if (fields == null || fields.isEmpty() || indices[0] > fields.size()) {
if (indices[0] > fields.size()) {
return "";
}

Expand Down

0 comments on commit b845dcd

Please sign in to comment.