Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
#106 Adding literal 'null' check.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Mar 8, 2024
1 parent 98fdff2 commit a84320f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private String getHeaderValue(final HeaderConstants header, final String default

final String value = task.getHeader(header.getHeader());

if(value == null || value.trim().isEmpty()) {
if(value == null || value.trim().isEmpty() || value.equals("null")) {
return defaultValue;
} else {
return value;
Expand Down

0 comments on commit a84320f

Please sign in to comment.