aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913/Java/lab8_strap012.java
diff options
context:
space:
mode:
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() {