james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [06/18] james-project git commit: JAMES-2553 Fix warnings in AggregateJunitExtension
Date Thu, 04 Oct 2018 10:49:26 GMT
JAMES-2553 Fix warnings in AggregateJunitExtension


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/17692d90
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/17692d90
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/17692d90

Branch: refs/heads/master
Commit: 17692d90559ee898d9f7ea946d0918eee700ccba
Parents: 76900c2
Author: Benoit Tellier <btellier@linagora.com>
Authored: Tue Oct 2 11:52:05 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Thu Oct 4 17:48:42 2018 +0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/james/AggregateJunitExtension.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/17692d90/server/container/guice/guice-common/src/test/java/org/apache/james/AggregateJunitExtension.java
----------------------------------------------------------------------
diff --git a/server/container/guice/guice-common/src/test/java/org/apache/james/AggregateJunitExtension.java
b/server/container/guice/guice-common/src/test/java/org/apache/james/AggregateJunitExtension.java
index 7dd7057..15ad8c4 100644
--- a/server/container/guice/guice-common/src/test/java/org/apache/james/AggregateJunitExtension.java
+++ b/server/container/guice/guice-common/src/test/java/org/apache/james/AggregateJunitExtension.java
@@ -20,7 +20,6 @@
 package org.apache.james;
 
 import java.util.List;
-import java.util.function.Supplier;
 
 import org.apache.james.util.Runnables;
 import org.junit.jupiter.api.extension.ExtensionContext;
@@ -44,7 +43,7 @@ public class AggregateJunitExtension implements RegistrableExtension {
     }
 
     @Override
-    public void beforeEach(ExtensionContext extensionContext) throws Exception {
+    public void beforeEach(ExtensionContext extensionContext) {
         Runnables.runParrallelStream(registrableExtensions
             .stream()
             .map(ext -> Throwing.runnable(() -> ext.beforeEach(extensionContext))));


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message