[ 
https://issues.apache.org/jira/browse/FLINK-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936113#comment-15936113
 ] 

ASF GitHub Bot commented on FLINK-6080:
---------------------------------------

Github user kl0u commented on the issue:

    https://github.com/apache/flink/pull/3584
  
    LGTM! Merging this...


> Unclosed ObjectOutputStream in NFA#serialize()
> ----------------------------------------------
>
>                 Key: FLINK-6080
>                 URL: https://issues.apache.org/jira/browse/FLINK-6080
>             Project: Flink
>          Issue Type: Bug
>          Components: CEP
>            Reporter: Ted Yu
>            Assignee: Dawid Wysakowicz
>            Priority: Minor
>
> {code}
>     public void serialize(NFA<T> record, DataOutputView target) throws 
> IOException {
>       ObjectOutputStream oos = new ObjectOutputStream(new 
> DataOutputViewStream(target));
>       oos.writeObject(record);
>       oos.flush();
>     }
> {code}
> ObjectOutputStream should be closed before returning from method.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to