mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
bug 319777: Restored 1.2 as it does not compile with Java 1.5
This commit is contained in:
parent
e3480a4a71
commit
ae0d300399
1 changed files with 0 additions and 2 deletions
|
@ -37,12 +37,10 @@ import java.util.regex.Pattern;
|
|||
public class PDAVirtualMachine {
|
||||
|
||||
static class Stack extends LinkedList<Object> {
|
||||
@Override
|
||||
public Object pop() {
|
||||
return isEmpty() ? 0 : remove(size() - 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void push(Object value) {
|
||||
add(value);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue