diff options
Diffstat (limited to 'csci1913')
-rw-r--r-- | csci1913/Java/project2_strap012.java | 2 |
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; |