Skip to content

Commit

Permalink
Removed unnecessary use of Long.toString from BlobStoreRepository. (#…
Browse files Browse the repository at this point in the history
…5833)

Signed-off-by: Mani <singh.mani1231@gmail.com>
  • Loading branch information
baba-devv authored Jan 17, 2023
1 parent 7bd1291 commit db30439
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1820,7 +1820,7 @@ private RepositoryData getRepositoryData(long indexGen) {
return RepositoryData.EMPTY;
}
try {
final String snapshotsIndexBlobName = INDEX_FILE_PREFIX + Long.toString(indexGen);
final String snapshotsIndexBlobName = INDEX_FILE_PREFIX + indexGen;

// EMPTY is safe here because RepositoryData#fromXContent calls namedObject
try (
Expand Down

0 comments on commit db30439

Please sign in to comment.