james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [02/15] james-project git commit: JAMES-2202 Re-indent createIndex
Date Wed, 01 Nov 2017 11:00:00 GMT
JAMES-2202 Re-indent createIndex


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

Branch: refs/heads/master
Commit: 73deadf74ea5909d7d91917b9a3c34638c6809ca
Parents: 7c490ed
Author: benwa <btellier@linagora.com>
Authored: Wed Oct 25 08:59:25 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed Nov 1 17:53:02 2017 +0700

----------------------------------------------------------------------
 .../apache/james/backends/es/IndexCreationFactory.java  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/73deadf7/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/IndexCreationFactory.java
----------------------------------------------------------------------
diff --git a/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/IndexCreationFactory.java
b/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/IndexCreationFactory.java
index eb6771a..9797ba2 100644
--- a/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/IndexCreationFactory.java
+++ b/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/IndexCreationFactory.java
@@ -51,12 +51,12 @@ public class IndexCreationFactory {
 
     private static Client createIndex(Client client, IndexName name, XContentBuilder settings)
{
         try {
-                client.admin()
-                    .indices()
-                    .prepareCreate(name.getValue())
-                    .setSettings(settings)
-                    .execute()
-                    .actionGet();
+            client.admin()
+                .indices()
+                .prepareCreate(name.getValue())
+                .setSettings(settings)
+                .execute()
+                .actionGet();
         } catch (IndexAlreadyExistsException exception) {
             LOGGER.info("Index [" + name + "] already exist");
         }


---------------------------------------------------------------------
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