update code style

This commit is contained in:
Vincent Breitmoser 2015-06-18 13:15:33 +02:00
parent 7c3518a011
commit 2b26f293b8

View file

@ -151,12 +151,13 @@ see http://help.transifex.net/features/client/index.html#user-client
## Coding Style ## Coding Style
### Code ### Code
* Indentation: 4 spaces, no tabs * Indentation: 4 spaces, no tabs.
* Maximum line width for code and comments: 100 * Maximum line width for code and comments: 100.
* Opening braces don't go on their own line * Opening braces don't go on their own line.
* Field names: Non-public, non-static fields start with m. * Field names: Non-public, non-static fields start with m.
* Acronyms are words: Treat acronyms as words in names, yielding !XmlHttpRequest, getUrl(), etc. * Acronyms are words: Treat acronyms as words in names, yielding !XmlHttpRequest, getUrl(), etc.
* Fully Qualify Imports: Do *not* use wildcard-imports such as ``import foo.*;`` * Fully Qualify Imports: Do *not* use wildcard-imports such as ``import foo.*;``
* Android Studio warnings should be fixed, or suppressed if they are incorrect.
The full coding style can be found at http://source.android.com/source/code-style.html The full coding style can be found at http://source.android.com/source/code-style.html