Skip to content

Commit

Permalink
update code style2
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylAzarov committed Nov 3, 2024
1 parent e9ca08c commit 136196d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/core/basesyntax/FileWork.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public List<String> wordSeparator(String line) {
List<String> words = List.of(line.split(PUNCTUALITY_REG_EX));
List<String> formattedWords = new ArrayList<>();
for (String word : words) {
formattedWords.add(wordFormatter(word));
formattedWords.add(wordFormatter(word).toLowerCase());
}
return formattedWords;
}
Expand Down

0 comments on commit 136196d

Please sign in to comment.