Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
@Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append(stateType).append(" State ").append(name).append(" [\n"); for (StateTransition<T> stateTransition : stateTransitions) { builder.append("\t").append(stateTransition).append(",\n"); } builder.append("])"); // right parenthesis is opening return builder.toString(); }
As I comment above, the right parenthesis is redundent (or the left parenthesis is missing). The output of toString() method is something like this: