diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 17:03:31 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 17:04:18 +0200 |
commit | 01d6d8a193c56f09d591ea26f056483aaa2b3895 (patch) | |
tree | 5ead754365f1cd9d21081d0dc1f266cfe89ace67 /org.eclipse.jgit | |
parent | 1924d353ef05cfd486ed146997dfac971756dfc2 (diff) | |
download | jgit-01d6d8a193c56f09d591ea26f056483aaa2b3895.tar.gz jgit-01d6d8a193c56f09d591ea26f056483aaa2b3895.zip |
DfsPackFile: remove unnecessary @SuppressWarnings("boxing")
Change-Id: I7af999dc4434b7b57bb7e0b84b9b64d24efce220
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java index 7f985229e5..cea50bad02 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java @@ -156,7 +156,6 @@ public final class DfsPackFile extends BlockBasedFile { return idx(ctx); } - @SuppressWarnings("boxing") private PackIndex idx(DfsReader ctx) throws IOException { if (index != null) { return index; @@ -206,7 +205,6 @@ public final class DfsPackFile extends BlockBasedFile { * @throws java.io.IOException * the bitmap index is not available, or is corrupt. */ - @SuppressWarnings("boxing") public PackBitmapIndex getBitmapIndex(DfsReader ctx) throws IOException { if (invalid || isGarbage() || !desc.hasFileExt(BITMAP_INDEX)) { return null; @@ -245,7 +243,6 @@ public final class DfsPackFile extends BlockBasedFile { * @throws java.io.IOException * the Commit Graph is not available, or is corrupt. */ - @SuppressWarnings("boxing") public CommitGraph getCommitGraph(DfsReader ctx) throws IOException { if (invalid || isGarbage() || !desc.hasFileExt(COMMIT_GRAPH)) { return null; @@ -283,7 +280,6 @@ public final class DfsPackFile extends BlockBasedFile { * @throws java.io.IOException * the pack index is not available, or is corrupt */ - @SuppressWarnings("boxing") public PackReverseIndex getReverseIdx(DfsReader ctx) throws IOException { if (reverseIndex != null) { return reverseIndex; @@ -308,7 +304,6 @@ public final class DfsPackFile extends BlockBasedFile { return reverseIndex; } - @SuppressWarnings("boxing") private PackObjectSizeIndex getObjectSizeIndex(DfsReader ctx) throws IOException { if (objectSizeIndex != null) { @@ -1177,7 +1172,6 @@ public final class DfsPackFile extends BlockBasedFile { } } - @SuppressWarnings("boxing") private DfsBlockCache.Ref<PackIndex> loadPackIndex( DfsReader ctx, DfsStreamKey idxKey) throws IOException { try { @@ -1206,7 +1200,6 @@ public final class DfsPackFile extends BlockBasedFile { } } - @SuppressWarnings("boxing") private DfsBlockCache.Ref<PackReverseIndex> loadReverseIdx( DfsReader ctx, DfsStreamKey revKey, PackIndex idx) { ctx.stats.readReverseIdx++; @@ -1221,7 +1214,6 @@ public final class DfsPackFile extends BlockBasedFile { revidx); } - @SuppressWarnings("boxing") private DfsBlockCache.Ref<PackObjectSizeIndex> loadObjectSizeIndex( DfsReader ctx, DfsStreamKey objectSizeIndexKey) throws IOException { ctx.stats.readObjectSizeIndex++; |