Google Java Style http://ift.tt/1LHeyi7 Every constant is a static final...

Please Visit: http://ift.tt/1ajReyV

Google Java Style
http://ift.tt/1LHeyi7
Every constant is a static final field, but not all static final fields are constants.
static final Logger logger = Logger.getLogger(MyClass.getName());

Projects are free to choose a column limit of either 80 or 100 characters.

Declared when needed, initialized as soon as possible
The default case is present 

Fall-through: commented 

@Override: always used

Caught exceptions: not ignored
Static members: qualified using class 

Finalizers: not used


from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1KbD4pq
via LifeLong Community

No comments:

Post a Comment