From 1cc47034de564d0fd33a89c7d785a539b6c3a5a0 Mon Sep 17 00:00:00 2001 From: thakis Date: Mon, 1 Dec 2014 12:46:40 -0800 Subject: 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} --- .clang-format | 5 ----- 1 file changed, 5 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index cd49686..6fdf1dc 100644 --- a/.clang-format +++ b/.clang-format @@ -6,8 +6,3 @@ BasedOnStyle: Chromium # 'vector>'. ('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 -- cgit v1.1