Skip to content

Commit

Permalink
Apply spotless check
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <kalsac@amazon.com>
  • Loading branch information
Sachin Kale committed Aug 9, 2022
1 parent 11ef270 commit f6174b2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -872,9 +872,7 @@ public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDocument() {
}

public void testEnablingRemoteStoreFailsWhenReplicationTypeIsDefault() {
Settings indexSettings = Settings.builder()
.put("index.remote_store.enabled", true)
.build();
Settings indexSettings = Settings.builder().put("index.remote_store.enabled", true).build();
IllegalArgumentException iae = expectThrows(
IllegalArgumentException.class,
() -> IndexMetadata.INDEX_REMOTE_STORE_ENABLED_SETTING.get(indexSettings)
Expand Down

0 comments on commit f6174b2

Please # to comment.