mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
fix backwards logic in Stack.empty
This commit is contained in:
parent
8e79618392
commit
93a96f3833
@ -12,7 +12,7 @@ package java.util;
|
||||
|
||||
public class Stack<T> extends Vector<T> {
|
||||
public boolean empty() {
|
||||
return size() != 0;
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
public T peek() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user