aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-12-10 11:52:52 -0600
committerRossTheRoss <msattr@gmail.com>2019-12-10 11:52:52 -0600
commit759a89812cf156d9544e23ab5b316615261dbb22 (patch)
tree1c52d2ed4b9c091438e9697bbdc203f11b2e2275
parentDelete things (diff)
downloadhomework-759a89812cf156d9544e23ab5b316615261dbb22.tar
homework-759a89812cf156d9544e23ab5b316615261dbb22.tar.gz
homework-759a89812cf156d9544e23ab5b316615261dbb22.tar.bz2
homework-759a89812cf156d9544e23ab5b316615261dbb22.tar.lz
homework-759a89812cf156d9544e23ab5b316615261dbb22.tar.xz
homework-759a89812cf156d9544e23ab5b316615261dbb22.tar.zst
homework-759a89812cf156d9544e23ab5b316615261dbb22.zip
Rearrange recursion
-rw-r--r--csci1913/Java/project3/project3_strap012.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csci1913/Java/project3/project3_strap012.java b/csci1913/Java/project3/project3_strap012.java
index 8db9b4a..91c167c 100644
--- a/csci1913/Java/project3/project3_strap012.java
+++ b/csci1913/Java/project3/project3_strap012.java
@@ -79,8 +79,8 @@ class AnagramTree {
}
}
if (subtree != null) {
- findAnagrams(subtree.right);
findAnagrams(subtree.left);
+ findAnagrams(subtree.right);
}
} catch (NullPointerException ignore) {
/*