This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 34a3026 Fixed CS 34a3026 is described below commit 34a30264d0347550e91fb70c1a501c9583f3a7f7 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Mar 27 07:14:38 2020 +0100 Fixed CS --- .../mail/MailConsumerAuthenticatorTest.java | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerAuthenticatorTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerAuthenticatorTest.java index 9ddc616..3e56328 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerAuthenticatorTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConsumerAuthenticatorTest.java @@ -16,13 +16,6 @@ */ package org.apache.camel.component.mail; -import org.junit.Test; -import org.mockito.Mockito; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.mockito.Mockito.when; - import java.io.IOException; import java.util.Properties; @@ -31,19 +24,25 @@ import javax.mail.PasswordAuthentication; import javax.mail.Session; import org.apache.camel.Processor; +import org.junit.Test; +import org.mockito.Mockito; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.mockito.Mockito.when; -/** Test the dynamic behavior of the MailAuthenticator in the MailConsumer. */ +/** + * Test the dynamic behavior of the MailAuthenticator in the MailConsumer. + */ public class MailConsumerAuthenticatorTest { @Test public void dynamicPasswordPop3() throws Exception { - execute("pop3"); } @Test public void dynamicPasswordImap() throws Exception { - execute("imap"); } @@ -88,7 +87,7 @@ public class MailConsumerAuthenticatorTest { public static class MyAuthenticator extends MailAuthenticator { - private int counter = 0; + private int counter; public PasswordAuthentication getPasswordAuthentication() { if (counter == 0) {