1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-23 03:54:49 +02:00

Remove debugging fields

This commit is contained in:
Paul Schaub 2022-10-26 18:24:19 +02:00
parent a0ba6828c9
commit a2a5c9223e

View file

@ -16,7 +16,6 @@ import static org.pgpainless.decryption_verification.syntax_check.StackAlphabet.
public class PDA {
private static int ID = 0;
private static final Logger LOGGER = LoggerFactory.getLogger(PDA.class);
/**
@ -171,13 +170,11 @@ public class PDA {
private final Stack<StackAlphabet> stack = new Stack<>();
private State state;
private int id;
public PDA() {
state = State.OpenPgpMessage;
stack.push(terminus);
stack.push(msg);
this.id = ID++;
}
public void next(InputAlphabet input) throws MalformedOpenPgpMessageException {
@ -240,6 +237,6 @@ public class PDA {
@Override
public String toString() {
return "PDA " + id + ": State: " + state + " Stack: " + stack;
return "State: " + state + " Stack: " + stack;
}
}