You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Yvonne Ironberg (JIRA)" <ji...@apache.org> on 2015/08/20 19:26:46 UTC

[jira] [Updated] (ZOOKEEPER-2255) Use static member classes when permitted

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

Yvonne Ironberg updated ZOOKEEPER-2255:
---------------------------------------
    Attachment: ZOOKEEPER-2255.patch

> Use static member classes when permitted
> ----------------------------------------
>
>                 Key: ZOOKEEPER-2255
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2255
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Yvonne Ironberg
>            Priority: Minor
>         Attachments: ZOOKEEPER-2255.patch
>
>
> Using static member classes saves time and space because an instances of a nonstatic member class has a reference to its enclosing instance.
> Also did some style improvements:
> - JLS recommends modifiers be in this order: public protected private abstract static final transient volatile synchronized native strictfp.
> - Inserted some spaces.



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