aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913/Java/project3
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-12-10 10:12:25 -0600
committerRossTheRoss <msattr@gmail.com>2019-12-10 10:12:25 -0600
commitebf12438b68b815f1c5ad2d184b68fd488479098 (patch)
tree1758ee4b3f52f843062ebae0cc2366e3b1afcfa0 /csci1913/Java/project3
parentFinish lab????? (diff)
downloadhomework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar.gz
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar.bz2
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar.lz
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar.xz
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.tar.zst
homework-ebf12438b68b815f1c5ad2d184b68fd488479098.zip
Fix dumb mistake
Diffstat (limited to 'csci1913/Java/project3')
-rw-r--r--csci1913/Java/project3/project3_strap012.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/csci1913/Java/project3/project3_strap012.java b/csci1913/Java/project3/project3_strap012.java
index 4c1f0a6..48c57ae 100644
--- a/csci1913/Java/project3/project3_strap012.java
+++ b/csci1913/Java/project3/project3_strap012.java
@@ -92,7 +92,7 @@ class AnagramTree {
}
private int compareSummaries(byte[] left, byte[] right) {
- for (int i = 0; i < 25; i++) {
+ for (int i = 0; i < 26; i++) {
if (left[i] != right[i]) {
return left[i] - right[i];
}
@@ -117,5 +117,6 @@ class Anagrammer {
anagrams.add(words.next());
}
anagrams.anagrams();
+ System.out.println();
}
} \ No newline at end of file