aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913/Java/lab8_strap012.java
diff options
context:
space:
mode:
authorRossTheRoss <mstrapp@protonmail.com>2019-11-06 17:31:50 -0600
committerRossTheRoss <mstrapp@protonmail.com>2019-11-06 17:31:50 -0600
commitf9cdcd0a19d7e763996ef98081da04c350323a39 (patch)
treebc557fb671b61d315f48015413c97d66ea458502 /csci1913/Java/lab8_strap012.java
parentFinish lab (diff)
downloadhomework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar.gz
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar.bz2
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar.lz
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar.xz
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.tar.zst
homework-f9cdcd0a19d7e763996ef98081da04c350323a39.zip
Fix old debug klu(d)ge
Diffstat (limited to 'csci1913/Java/lab8_strap012.java')
-rw-r--r--csci1913/Java/lab8_strap012.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/csci1913/Java/lab8_strap012.java b/csci1913/Java/lab8_strap012.java
index 35f9106..5335f79 100644
--- a/csci1913/Java/lab8_strap012.java
+++ b/csci1913/Java/lab8_strap012.java
@@ -21,8 +21,7 @@ class RunnyStack<Base> {
if (b1 == null || b2 == null) {
return b1 == b2;
} else {
- boolean foo = b1.base.equals(b2);
- return foo;
+ return b1.base.equals(b2);
}
}
public boolean isEmpty() {