Merge changes from topic 'checkstyle-cleanup'

* changes:
  Remove redundant 'private' modifier on constructors
  Remove redundant 'static' modifiers
  InitIndex: Add comment in empty if-block
  Declare variables on separate lines
  Change class modifier order to follow Java Language Spec
  Add missing whitespace around keywords, operators and braces
This commit is contained in:
David Pursehouse
2016-04-12 00:19:02 +00:00
committed by Gerrit Code Review
178 changed files with 239 additions and 231 deletions

View File

@@ -135,7 +135,7 @@ public class ChangeBundleTest {
c2.setTopic("topic");
assertDiffs(b1, b2,
"topic differs for Change.Id "+ c1.getId() + ": {null} != {topic}");
"topic differs for Change.Id " + c1.getId() + ": {null} != {topic}");
}
@Test

View File

@@ -149,7 +149,7 @@ public class NoteDbChangeStateTest {
checkArgument(args.length % 2 == 0);
ImmutableMap.Builder<Account.Id, ObjectId> b = ImmutableMap.builder();
for (int i = 0; i < args.length / 2; i++) {
b.put((Account.Id) args[2*i], (ObjectId) args[2*i+1]);
b.put((Account.Id) args[2 * i], (ObjectId) args[2 * i + 1]);
}
return b.build();
}