Skip to content

Commit

Permalink
Spotless apply
Browse files Browse the repository at this point in the history
Signed-off-by: currantw <[email protected]>
  • Loading branch information
currantw committed Dec 3, 2024
1 parent 6382476 commit c1a70c1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public Map<String, IndexMapping> getIndexMappings(String... indexExpression) {
throw e;
} catch (Exception e) {
throw new IllegalStateException(
"Failed to read mapping for index pattern [" + Arrays.toString(indexExpression) + "]", e);
"Failed to read mapping for index pattern [" + Arrays.toString(indexExpression) + "]", e);
}
}

Expand Down Expand Up @@ -123,7 +123,7 @@ public Map<String, Integer> getIndexMaxResultWindows(String... indexExpression)
return result.build();
} catch (Exception e) {
throw new IllegalStateException(
"Failed to read setting for index pattern [" + Arrays.toString(indexExpression) + "]", e);
"Failed to read setting for index pattern [" + Arrays.toString(indexExpression) + "]", e);
}
}

Expand Down Expand Up @@ -215,7 +215,7 @@ public void deletePit(DeletePitRequest deletePitRequest) {
ActionFuture<DeletePitResponse> execute =
this.client.execute(DeletePitAction.INSTANCE, deletePitRequest);
try {
execute.get();
execute.get();
} catch (InterruptedException | ExecutionException e) {
throw new RuntimeException("Error occurred while deleting PIT.", e);
}
Expand Down

0 comments on commit c1a70c1

Please sign in to comment.