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] [Updated] (ZOOKEEPER-2255) Use static member classes when permitted
Date Wed, 30 Jan 2019 12:58:00 GMT

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

ASF GitHub Bot updated ZOOKEEPER-2255:
--------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Assignee: Yvonne Ironberg
>            Priority: Minor
>              Labels: pull-request-available
>         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
(v7.6.3#76005)

Mime
View raw message