From 323819e3a8a0d08b5133b1a126f3e655b2baa4a5 Mon Sep 17 00:00:00 2001 From: Sachin Kale Date: Thu, 28 Mar 2024 10:10:48 +0530 Subject: [PATCH] Fix spotless errors Signed-off-by: Sachin Kale --- .../org/opensearch/index/translog/RemoteFsTranslog.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java b/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java index 5d0822a5d400f..67799f0465c29 100644 --- a/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java +++ b/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java @@ -559,8 +559,13 @@ private void deleteStaleRemotePrimaryTerms() { } } - public static void cleanup(Repository repository, ShardId shardId, ThreadPool threadPool, RemoteStorePathStrategy pathStrategy, RemoteStoreSettings remoteStoreSettings) - throws IOException { + public static void cleanup( + Repository repository, + ShardId shardId, + ThreadPool threadPool, + RemoteStorePathStrategy pathStrategy, + RemoteStoreSettings remoteStoreSettings + ) throws IOException { assert repository instanceof BlobStoreRepository : "repository should be instance of BlobStoreRepository"; BlobStoreRepository blobStoreRepository = (BlobStoreRepository) repository; // We use a dummy stats tracker to ensure the flow doesn't break.