From f807aa70a9e48f60f87a347baf67ae6f5def2d3e Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 7 Mar 2017 10:36:03 +0900 Subject: [PATCH] NotificationMailFormatIT: Format with google-java-format Change-Id: If178d8100e5e9e84fef235a33bd448f5afa4d17b --- .../server/mail/NotificationMailFormatIT.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/server/mail/NotificationMailFormatIT.java b/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/server/mail/NotificationMailFormatIT.java index 3ce559a2e8..84850129ad 100644 --- a/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/server/mail/NotificationMailFormatIT.java +++ b/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/server/mail/NotificationMailFormatIT.java @@ -36,10 +36,7 @@ public class NotificationMailFormatIT extends AbstractDaemonTest { // Create change as admin and review as user PushOneCommit.Result r = createChange(); setApiUser(user); - gApi.changes() - .id(r.getChangeId()) - .current() - .review(ReviewInput.recommend()); + gApi.changes().id(r.getChangeId()).current().review(ReviewInput.recommend()); // Check that admin has received only plaintext content assertThat(sender.getMessages()).hasSize(1); @@ -60,10 +57,7 @@ public class NotificationMailFormatIT extends AbstractDaemonTest { // Create change as admin and review as user PushOneCommit.Result r = createChange(); setApiUser(user); - gApi.changes() - .id(r.getChangeId()) - .current() - .review(ReviewInput.recommend()); + gApi.changes().id(r.getChangeId()).current().review(ReviewInput.recommend()); // Check that admin has received both HTML and plaintext content assertThat(sender.getMessages()).hasSize(1);