Skip to content

Commit

Permalink
Fix checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant00000ny committed Aug 5, 2024
1 parent 884a473 commit 49de915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void writeTo(SourceStructure structure, KotlinSourceCode sourceCode) thro

private static String escapeKotlinKeywords(String packageName) {
return Arrays.stream(packageName.split("\\."))
.map(segment -> KOTLIN_HARD_KEYWORDS.contains(segment) ? "`" + segment + "`" : segment)
.map((segment) -> KOTLIN_HARD_KEYWORDS.contains(segment) ? "`" + segment + "`" : segment)
.collect(Collectors.joining("."));
}

Expand Down

0 comments on commit 49de915

Please sign in to comment.