summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2021-02-16 01:13:35 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2021-02-17 16:24:34 -0500
commit3b94ba6c24451ec3fc0c46b65125aba46ca299a5 (patch)
treee14256a02f4e7be335a949a0dac614dde8a9cd39 /org.eclipse.jgit.test/tst
parent64cbea8a9794047fe576d03ab8a46e4eaf7eabee (diff)
downloadjgit-3b94ba6c24451ec3fc0c46b65125aba46ca299a5.tar.gz
jgit-3b94ba6c24451ec3fc0c46b65125aba46ca299a5.zip
Fix boxing warnings
Change-Id: Idf4887a99e87c375ec32e2fd289cfce82d78cbce Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java
index 56f881ec53..0d739b9276 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java
@@ -487,7 +487,7 @@ public class ReftableTest {
public void seekPastWithLotsOfRefs() throws IOException {
Ref[] refs = new Ref[500];
for (int i = 1; i <= 500; i++) {
- refs[i - 1] = ref(String.format("refs/%d", i), i);
+ refs[i - 1] = ref(String.format("refs/%d", Integer.valueOf(i)), i);
}
ReftableReader t = read(write(refs));
try (RefCursor rc = t.allRefs()) {