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) (#5911)

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>

Signed-off-by: Mani <singh.mani1231@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent cdb2b26 commit 2c803f1
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 2c803f1

Please sign in to comment.