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:
@@ -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
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user