Skip to content

Commit

Permalink
Partly ensure camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Sep 30, 2024
1 parent ba8c95c commit 38adffb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ protected void process() {
componentNames = componentNames.stream()
// .map(it -> it.replaceAll("[^a-zA-Z0-9 \\-_]", "").replaceAll("\\s+", " ").trim())
.map(it -> it.replace("Components", "").replace("Component", "").trim())
// Ensure parts CamelCase
.map(it -> it.replace(" ", ""))
.filter(it -> !it.isBlank())
.distinct()
.sorted()
Expand Down

0 comments on commit 38adffb

Please sign in to comment.