Skip to content

Commit

Permalink
Null handling for Processing Flavor set
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbeor committed Oct 18, 2024
1 parent 522970c commit 458688f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ public String buildAck(HL7Reader reader, List<ProcessingException> processingExc
}

// if processing flavor contains MEDLAR then all the non E errors have to removed from the processing list
if (processingFlavorSet.contains(ProcessingFlavor.MEDLAR)) {
if (processingFlavorSet != null && processingFlavorSet.contains(ProcessingFlavor.MEDLAR)) {
List<ProcessingException> tempProcessingExceptionList = new ArrayList<ProcessingException>();
for (ProcessingException pe : processingExceptionList) {
if (pe.isError()) {
Expand Down

0 comments on commit 458688f

Please sign in to comment.