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

ASF GitHub Bot commented on GORA-458:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/gora/pull/53


> DataOutputStream is not closed in BinaryEncoder#encodeXXX() methods
> -------------------------------------------------------------------
>
>                 Key: GORA-458
>                 URL: https://issues.apache.org/jira/browse/GORA-458
>             Project: Apache Gora
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Renato Javier MarroquĂ­n Mogrovejo
>            Priority: Minor
>
> In 
> ./gora-accumulo/src/main/java/org/apache/gora/accumulo/encoders/BinaryEncoder.java
>  :
> {code}
>       DataOutputStream dos = new DataOutputStream(new 
> FixedByteArrayOutputStream(ret));
>       dos.writeShort(s);
>       return ret;
> {code}
> dos should be closed before returning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to