From 2eb055b1f655fca06780260fa527b5e4f0da06c1 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 f0bd5ea4ed4cb..414cb55df7fe2 100644 --- a/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java +++ b/server/src/main/java/org/opensearch/index/translog/RemoteFsTranslog.java @@ -545,8 +545,13 @@ private void deleteStaleRemotePrimaryTerms() { } } - public static void cleanup(Repository repository, ShardId shardId, ThreadPool threadPool, RemoteStorePathType pathType, RemoteStoreSettings remoteStoreSettings) - throws IOException { + public static void cleanup( + Repository repository, + ShardId shardId, + ThreadPool threadPool, + RemoteStorePathType pathType, + 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.