Skip to content

Commit

Permalink
allow null defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
apucher committed Jan 28, 2022
1 parent 88f040a commit 1148538
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ public String getProperty(String name, String defaultValue) {
if (rawProperty instanceof List) {
return StringUtils.join(((ArrayList) rawProperty).toArray(), ',');
} else {
if (rawProperty == null) {
return null;
}
return rawProperty.toString();
}
}
Expand Down

0 comments on commit 1148538

Please sign in to comment.