zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2827) Code refactoring for `JUTE` module
Date Thu, 29 Jun 2017 04:10:01 GMT

    [ 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 <1571805553@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)

Mime
View raw message