mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-18 13:22:17 -05:00
update code style
This commit is contained in:
parent
7c3518a011
commit
2b26f293b8
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user