Commit 223f92f4 authored by Adam Blank's avatar Adam Blank
Browse files

Update TrieStringSet.java

parent 0f7e6151
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -85,7 +85,7 @@ public class TrieStringSet { ...@@ -85,7 +85,7 @@ public class TrieStringSet {
} }
private void getAllWords(List<String> result, StringTrieNode curr, String acc) { private void getAllWords(List<String> result, StringTrieNode curr, String acc) {
if (curr != null) { if (curr == null) {
return; return;
} }
if (curr.isPresent) { if (curr.isPresent) {
...@@ -100,4 +100,4 @@ public class TrieStringSet { ...@@ -100,4 +100,4 @@ public class TrieStringSet {
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment