Skip to content

Commit ff709e9

Browse files
committed
fix code style
1 parent db131d3 commit ff709e9

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/thealgorithms/compression

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/compression/LZ78.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public record Token(int index, char nextChar) {
5454
* A node in the dictionary trie structure.
5555
* Each node represents a phrase and can have child nodes for extended phrases.
5656
*/
57-
private static class TrieNode {
57+
private static final class TrieNode {
5858
Map<Character, TrieNode> children = new HashMap<>();
5959
int index = -1; // -1 means not assigned yet
6060
}

0 commit comments

Comments
 (0)