You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2018/07/02 04:49:33 UTC

[07/10] james-project git commit: JAMES-2441 Polish TestESMetricReporter module

JAMES-2441 Polish TestESMetricReporter module

Parameter and exception signature are not needed.


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

Branch: refs/heads/master
Commit: 21b0ff4c9ac5e48449d49045d8f22da426c64697
Parents: 320f913
Author: benwa <bt...@linagora.com>
Authored: Wed Jun 27 13:25:06 2018 +0700
Committer: benwa <bt...@linagora.com>
Committed: Mon Jul 2 11:48:52 2018 +0700

----------------------------------------------------------------------
 .../org/apache/james/modules/TestESMetricReporterModule.java     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/21b0ff4c/server/container/guice/cassandra-guice/src/test/java/org/apache/james/modules/TestESMetricReporterModule.java
----------------------------------------------------------------------
diff --git a/server/container/guice/cassandra-guice/src/test/java/org/apache/james/modules/TestESMetricReporterModule.java b/server/container/guice/cassandra-guice/src/test/java/org/apache/james/modules/TestESMetricReporterModule.java
index 1ad9c09..85808e0 100644
--- a/server/container/guice/cassandra-guice/src/test/java/org/apache/james/modules/TestESMetricReporterModule.java
+++ b/server/container/guice/cassandra-guice/src/test/java/org/apache/james/modules/TestESMetricReporterModule.java
@@ -21,8 +21,6 @@ package org.apache.james.modules;
 
 import javax.inject.Singleton;
 
-import org.apache.commons.configuration.ConfigurationException;
-import org.apache.james.filesystem.api.FileSystem;
 import org.apache.james.metrics.es.ESReporterConfiguration;
 
 import com.google.inject.AbstractModule;
@@ -40,7 +38,7 @@ public class TestESMetricReporterModule extends AbstractModule {
 
     @Provides
     @Singleton
-    public ESReporterConfiguration provideConfiguration(FileSystem fileSystem) throws ConfigurationException {
+    public ESReporterConfiguration provideConfiguration() {
         return ESReporterConfiguration.builder()
             .enabled()
             .onHost(LOCALHOST, DEFAULT_ES_HTTP_PORT)


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