JAMES-2408 A static variable was not final in ElasticSearchIndexer
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c260053f Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c260053f Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c260053f Branch: refs/heads/master Commit: c260053f3661625def5a100098729c5fa9073e41 Parents: 86a4395 Author: benwa <[email protected]> Authored: Tue Jun 5 14:42:51 2018 +0700 Committer: Matthieu Baechler <[email protected]> Committed: Wed Jun 6 08:58:57 2018 +0200 ---------------------------------------------------------------------- .../java/org/apache/james/backends/es/ElasticSearchIndexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/c260053f/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/ElasticSearchIndexer.java ---------------------------------------------------------------------- diff --git a/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/ElasticSearchIndexer.java b/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/ElasticSearchIndexer.java index 3f62e0c..b5caad1 100644 --- a/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/ElasticSearchIndexer.java +++ b/backends-common/elasticsearch/src/main/java/org/apache/james/backends/es/ElasticSearchIndexer.java @@ -37,7 +37,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; public class ElasticSearchIndexer { - private static int DEBUG_MAX_LENGTH_CONTENT = 1000; + private static final int DEBUG_MAX_LENGTH_CONTENT = 1000; private static final int DEFAULT_BATCH_SIZE = 100; private static final Logger LOGGER = LoggerFactory.getLogger(ElasticSearchIndexer.class); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
