Skip to content

Commit

Permalink
Fix style error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackluo923 committed Apr 30, 2024
1 parent e4023bf commit 5b43fff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public static String serialize(List<String> input, boolean escapeComma, boolean
Stream<String> tokenStream = input.stream();
if (escapeComma) {
tokenStream = tokenStream.map(s -> s.replaceAll(",", "\\,"));
} if (trim) {
}
if (trim) {
tokenStream = tokenStream.map(String::trim);
}
return tokenStream.collect(Collectors.joining(","));
Expand Down

0 comments on commit 5b43fff

Please sign in to comment.