You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/29 04:10:01 UTC

[jira] [Commented] (ZOOKEEPER-2827) Code refactoring for `JUTE` module

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

ASF GitHub Bot commented on ZOOKEEPER-2827:
-------------------------------------------

GitHub user asdf2014 opened a pull request:

    https://github.com/apache/zookeeper/pull/299

    ZOOKEEPER-2827: Code refactoring for `JUTE` module

    * Fix spell issues
    * Simplify `return` clause
    * Using enhanced `for` loop
    * Using `try` clause to release the resource of stream
    * Remove unnecessary `new Class[]{...}` boxing
    * Remove unnecessary `return` clause
    * Remove unnecessary `import`


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/asdf2014/zookeeper ZOOKEEPER-2827

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/299.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #299
    
----
commit 098db9d7037e422359aab81c859bad03f6ed232c
Author: asdf2014 <15...@qq.com>
Date:   2017-06-29T04:08:00Z

    ZOOKEEPER-2827: Code refactoring for `JUTE` module

----


> Code refactoring for `JUTE` module
> ----------------------------------
>
>                 Key: ZOOKEEPER-2827
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2827
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: jute
>    Affects Versions: 3.5.3
>            Reporter: Benedict Jin
>            Assignee: Benedict Jin
>             Fix For: 3.5.4, 3.6.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> * Fix spell issues
> * Simplify `return` clause
> * Using enhanced `for` loop
> * Using `try` clause to release the resource of stream
> * Remove unnecessary `new Class[]{...}` boxing
> * Remove unnecessary `return` clause
> * Remove unnecessary `import`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)