[ 
https://issues.apache.org/jira/browse/FLINK-22046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

shiqihao updated FLINK-22046:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> org.apache.flink.cep.nfa.State#toString() may has a abnormal format
> -------------------------------------------------------------------
>
>                 Key: FLINK-22046
>                 URL: https://issues.apache.org/jira/browse/FLINK-22046
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / CEP
>            Reporter: shiqihao
>            Priority: Trivial
>         Attachments: image-2021-03-30-19-42-25-741.png
>
>
> {code:java}
> @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();
> }
> {code}
> As I comment above, the left parenthesis is missing. The output of toString() 
> method is something like this: 
> !image-2021-03-30-19-42-25-741.png!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to