You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2022/05/23 02:47:35 UTC
[james-project] 06/10: [REFACTORING] Remove unneeded exception
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 785e1cb107b05e9308807cd831c3778d7d04e3b2
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu May 12 13:12:02 2022 +0700
[REFACTORING] Remove unneeded exception
---
.../org/apache/james/modules/mailbox/ElasticSearchMailboxModule.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/container/guice/elasticsearch/src/main/java/org/apache/james/modules/mailbox/ElasticSearchMailboxModule.java b/server/container/guice/elasticsearch/src/main/java/org/apache/james/modules/mailbox/ElasticSearchMailboxModule.java
index 577e7da266..43fb3229de 100644
--- a/server/container/guice/elasticsearch/src/main/java/org/apache/james/modules/mailbox/ElasticSearchMailboxModule.java
+++ b/server/container/guice/elasticsearch/src/main/java/org/apache/james/modules/mailbox/ElasticSearchMailboxModule.java
@@ -22,7 +22,6 @@ package org.apache.james.modules.mailbox;
import static org.apache.james.mailbox.elasticsearch.v7.search.ElasticSearchSearcher.DEFAULT_SEARCH_SIZE;
import java.io.FileNotFoundException;
-import java.io.IOException;
import java.util.Set;
import javax.inject.Inject;
@@ -86,7 +85,7 @@ public class ElasticSearchMailboxModule extends AbstractModule {
this.client = client;
}
- void createIndex() throws IOException {
+ void createIndex() {
MailboxIndexCreationUtil.prepareClient(client,
mailboxConfiguration.getReadAliasMailboxName(),
mailboxConfiguration.getWriteAliasMailboxName(),
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org