diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-12 14:07:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-17 10:29:26 +0000 |
commit | ec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch) | |
tree | 25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/styleguide/java | |
parent | bb09965444b5bb20b096a291445170876225268d (diff) | |
download | qtwebengine-chromium-ec02ee4181c49b61fce1c8fb99292dbb8139cc90.tar.gz |
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/styleguide/java')
-rw-r--r-- | chromium/styleguide/java/OWNERS | 2 | ||||
-rw-r--r-- | chromium/styleguide/java/java.md | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/chromium/styleguide/java/OWNERS b/chromium/styleguide/java/OWNERS index 137bf18597a..131b31eb006 100644 --- a/chromium/styleguide/java/OWNERS +++ b/chromium/styleguide/java/OWNERS @@ -3,3 +3,5 @@ dfalcantara@chromium.org nyquist@chromium.org tedchoc@chromium.org yfriedman@chromium.org + +# COMPONENT: Build diff --git a/chromium/styleguide/java/java.md b/chromium/styleguide/java/java.md index 0567689a48e..76d5f753353 100644 --- a/chromium/styleguide/java/java.md +++ b/chromium/styleguide/java/java.md @@ -124,6 +124,27 @@ if (org.chromium.base.BuildConfig.DCHECK_IS_ON) { } ``` +### Import Order + +* Static imports go before other imports. +* Each import group must be separated by an empty line. + +This is the order of the import groups: + +1. android +1. com (except com.google.android.apps.chrome) +1. dalvik +1. junit +1. org +1. com.google.android.apps.chrome +1. org.chromium +1. java +1. javax + +This is enforced by the +[Chromium Checkstyle configuration](../../tools/android/checkstyle/chromium-style-5.0.xml) +under the ImportOrder module. + ## Location "Top level directories" are defined as directories with a GN file, such as |