We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 516ec4a commit df1f5dfCopy full SHA for df1f5df
src/main/java/utils/StringUtil.java
@@ -54,6 +54,8 @@ public static String reduceWhitespace(String s) {
54
}
55
56
public static String join(Collection<String> strings, CharSequence delimiter) {
57
+ if (strings == null)
58
+ return null;
59
StringJoiner sj = new StringJoiner(delimiter);
60
for (String s: strings) {
61
sj.add(s);
0 commit comments