clang-format/java: No spaces around braces in initializer lists.
Those spaces are explicitly optional for Google's Java style (Point 8 of https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.6.2-horizontal-whitespace) and not having spaces outnumbers spaces about 10-to-1 in our existing code. This also removes the space in annotations like `@Feature({"Android-AppBase"})` which is too looks like a good change. With this, all chromium-related java bits are upstreamed into clang-format and the java-specific section from .clang-format is gone again. BUG=429372 NOTRY=true Review URL: https://codereview.chromium.org/764423002 Cr-Commit-Position: refs/heads/master@{#306245}
This commit is contained in:
@ -6,8 +6,3 @@ BasedOnStyle: Chromium
|
||||
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
|
||||
# 'int>>' if the file already contains at least one such instance.)
|
||||
Standard: Cpp11
|
||||
|
||||
---
|
||||
Language: Java
|
||||
# See http://crbug.com/429372 for information about this section.
|
||||
Cpp11BracedListStyle: false # but see http://llvm.org/PR21457
|
||||
|
Reference in New Issue
Block a user