Skip to content

Commit 698be5d

Browse files
author
sailok.chinta
committed
feat: fix checkstyle issues
1 parent 8f36b05 commit 698be5d

File tree

2 files changed

+4
-2
lines changed
  • src
    • main/java/com/thealgorithms/datastructures/trees
    • test/java/com/thealgorithms/datastructures/trees

2 files changed

+4
-2
lines changed

src/main/java/com/thealgorithms/datastructures/trees/Trie.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TrieNode {
1010
HashMap<Character, TrieNode> child;
1111
boolean end;
1212

13-
public TrieNode(char value) {
13+
TrieNode(char value) {
1414
this.value = value;
1515
this.child = new HashMap<>();
1616
this.end = false;

src/test/java/com/thealgorithms/datastructures/trees/TrieTest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.thealgorithms.datastructures.trees;
22

3-
import static org.junit.jupiter.api.Assertions.*;
3+
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
import static org.junit.jupiter.api.Assertions.assertTrue;
5+
import static org.junit.jupiter.api.Assertions.assertFalse;
46

57
import java.util.List;
68
import org.junit.jupiter.api.Test;

0 commit comments

Comments
 (0)