Format Java files with google-java-format

Change-Id: Ie4a9594ada29ef95eadd08a33c4cba9feab45cdd
This commit is contained in:
David Pursehouse
2017-04-26 15:19:29 +02:00
parent 2c883bd1c5
commit 23b3e557c5
2 changed files with 2 additions and 5 deletions

View File

@@ -410,10 +410,7 @@ public class AccountIT extends AbstractDaemonTest {
@Test
public void addEmail() throws Exception {
List<String> emails =
ImmutableList.of(
"new.email@example.com",
"new.email@example.systems");
List<String> emails = ImmutableList.of("new.email@example.com", "new.email@example.systems");
Set<String> currentEmails = getEmails();
for (String email : emails) {
assertThat(currentEmails).doesNotContain(email);

View File

@@ -34,7 +34,7 @@ public class OutgoingEmailValidator {
String[] allowTLD = config.getStringList("sendemail", null, "allowTLD");
if (allowTLD.length != 0) {
try {
DomainValidator.updateTLDOverride(GENERIC_PLUS, allowTLD);
DomainValidator.updateTLDOverride(GENERIC_PLUS, allowTLD);
} catch (IllegalStateException e) {
// Should only happen in tests, where the OutgoingEmailValidator
// is instantiated repeatedly.