Skip to content

Commit b20c245

Browse files
committed
Address PR formatting comments
1 parent de8ca18 commit b20c245

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/IndicesRequestConvertersTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ private void resizeTest(ResizeType resizeType, CheckedFunction<ResizeRequest, Re
870870
Map<String, String> expectedParams = new HashMap<>();
871871

872872
if (randomBoolean()) {
873-
resizeRequest.setCopySettings(Boolean.TRUE);
873+
resizeRequest.setCopySettings(true);
874874
expectedParams.put("copy_settings", "true");
875875
}
876876

docs/java-rest/high-level/indices/shrink_index.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ returns a response, as an `ActiveShardCount`
5252
include-tagged::{doc-tests-file}[{api}-request-copySettings]
5353
--------------------------------------------------
5454
<1> Use `true` to copy the settings from the source index to the target
55-
index. This cannot be `false`. If this method is not used, default behavior is not to copy.
56-
This parameter will be removed in 8.0.0.
55+
index. This cannot be `false`. If this method is not used, default behavior is
56+
not to copy. This parameter will be removed in 8.0.0.
5757

5858
["source","java",subs="attributes,callouts,macros"]
5959
--------------------------------------------------

0 commit comments

Comments
 (0)