Format Java files with google-java-format
Change-Id: Ie4a9594ada29ef95eadd08a33c4cba9feab45cdd
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user