From 1a0d629095a94eb54d5ea91c2a0c4c278947627f Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 26 Mar 2024 11:10:43 +0100 Subject: [PATCH] Make checkstyle happy. --- .../org/elasticsearch/index/codec/Elasticsearch814Codec.java | 3 ++- .../index/codec/zstd/Zstd814StoredFieldsFormat.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch814Codec.java b/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch814Codec.java index 736c40d098dde..e85e05c87b083 100644 --- a/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch814Codec.java +++ b/server/src/main/java/org/elasticsearch/index/codec/Elasticsearch814Codec.java @@ -60,7 +60,8 @@ public Elasticsearch814Codec() { } /** - * Constructor. Takes a {@link Zstd814StoredFieldsFormat.Mode} that describes whether to optimize for retrieval speed at the expense of worse space-efficiency or vice-versa. + * Constructor. Takes a {@link Zstd814StoredFieldsFormat.Mode} that describes whether to optimize for retrieval speed at the expense of + * worse space-efficiency or vice-versa. */ public Elasticsearch814Codec(Zstd814StoredFieldsFormat.Mode mode) { super("Elasticsearch814", new Lucene99Codec()); diff --git a/server/src/main/java/org/elasticsearch/index/codec/zstd/Zstd814StoredFieldsFormat.java b/server/src/main/java/org/elasticsearch/index/codec/zstd/Zstd814StoredFieldsFormat.java index 7e86e661b3665..944f151d75252 100644 --- a/server/src/main/java/org/elasticsearch/index/codec/zstd/Zstd814StoredFieldsFormat.java +++ b/server/src/main/java/org/elasticsearch/index/codec/zstd/Zstd814StoredFieldsFormat.java @@ -52,7 +52,7 @@ public enum Mode { final int level, blockSizeInBytes, blockDocCount; - private Mode(int level, int blockSizeInBytes, int blockDocCount) { + Mode(int level, int blockSizeInBytes, int blockDocCount) { this.level = level; this.blockSizeInBytes = blockSizeInBytes; this.blockDocCount = blockDocCount;