aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913/Java
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-11-27 13:39:01 -0600
committerRossTheRoss <msattr@gmail.com>2019-11-27 13:39:01 -0600
commit9a3a81412187cc33105e961872dffe1425b86be2 (patch)
tree2884dd2803c85aa42cd16e8a11579c8f5338e772 /csci1913/Java
parentHoisting the white flag of surrender (diff)
downloadhomework-9a3a81412187cc33105e961872dffe1425b86be2.tar
homework-9a3a81412187cc33105e961872dffe1425b86be2.tar.gz
homework-9a3a81412187cc33105e961872dffe1425b86be2.tar.bz2
homework-9a3a81412187cc33105e961872dffe1425b86be2.tar.lz
homework-9a3a81412187cc33105e961872dffe1425b86be2.tar.xz
homework-9a3a81412187cc33105e961872dffe1425b86be2.tar.zst
homework-9a3a81412187cc33105e961872dffe1425b86be2.zip
What did I even do
Diffstat (limited to 'csci1913/Java')
-rw-r--r--csci1913/Java/project2_strap012.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/csci1913/Java/project2_strap012.java b/csci1913/Java/project2_strap012.java
index d8e10ee..6c4ee34 100644
--- a/csci1913/Java/project2_strap012.java
+++ b/csci1913/Java/project2_strap012.java
@@ -109,7 +109,7 @@ class Sort {
}
if (left == null) {
end.next=right;
- } else {
+ } else if (right == null) {
end.next=left;
}
return sorted;