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>
(cherry picked from commit db30439)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jan 17, 2023
1 parent d34a34b commit 5c8ad6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,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 5c8ad6f

Please sign in to comment.