Skip to content

Commit

Permalink
Setting to final
Browse files Browse the repository at this point in the history
  • Loading branch information
josdem committed Apr 10, 2024
1 parent cc473c4 commit 1c4ad40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import java.util.Arrays;
import java.util.List;
public class CharactersCounter {
private List<Character> vowels = Arrays.asList('a', 'e', 'i', 'o', 'u');
private List<Character> consonants =
private final List<Character> vowels = Arrays.asList('a', 'e', 'i', 'o', 'u');
private final List<Character> consonants =
Arrays.asList(
'b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'r', 'p', 'q', 's', 't', 'v', 'w',
'x', 'y', 'z');
Expand Down

0 comments on commit 1c4ad40

Please sign in to comment.