From 89bb7462784e171563aa5808a5f5c15597242bad Mon Sep 17 00:00:00 2001 From: Dmitry Kryukov Date: Thu, 22 Aug 2024 21:10:38 +0300 Subject: [PATCH] Removed unused StringBuilder Signed-off-by: Dmitry Kryukov --- .../opensearch/node/remotestore/RemoteStoreNodeAttribute.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/node/remotestore/RemoteStoreNodeAttribute.java b/server/src/main/java/org/opensearch/node/remotestore/RemoteStoreNodeAttribute.java index a0f745a4270c4..c05cb226adcd7 100644 --- a/server/src/main/java/org/opensearch/node/remotestore/RemoteStoreNodeAttribute.java +++ b/server/src/main/java/org/opensearch/node/remotestore/RemoteStoreNodeAttribute.java @@ -276,8 +276,6 @@ public boolean equals(Object o) { @Override public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append('{').append(this.repositoriesMetadata).append('}'); return super.toString(); } }