Yvonne Ironberg created ZOOKEEPER-2255:
------------------------------------------

             Summary: 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


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)

Reply via email to