aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-04-29 01:37:28 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-04-29 15:20:42 +0200
commit8bc7f38489438251c1cf35eff3a2db1fd0bfa553 (patch)
treecc98966a4ab397f1804a741a66ddebaf0389287a /org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java
parent85602eaa98aefefdf023317db02f774a80bfeda4 (diff)
downloadjgit-8bc7f38489438251c1cf35eff3a2db1fd0bfa553.tar.gz
jgit-8bc7f38489438251c1cf35eff3a2db1fd0bfa553.zip
[errorprone] Fix pattern FutureReturnValueIgnored
See https://errorprone.info/bugpattern/FutureReturnValueIgnored Change-Id: I7225fd6388ce70ed5eea9e61b29bd10e1a927acb
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java
index 118eb984d0..097b84974f 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackHandleDeletedPackFileTest.java
@@ -102,7 +102,7 @@ public class UploadPackHandleDeletedPackFileTest
try {
addNewCommit();
- new GC(remote.getRepository()).gc();
+ new GC(remote.getRepository()).gc().get();
pack.getPackFile().create(packExt).delete();
} catch (Exception e) {
@@ -136,7 +136,7 @@ public class UploadPackHandleDeletedPackFileTest
.create();
remote.update("master", commit0);
- new GC(remote.getRepository()).gc(); // create pack files
+ new GC(remote.getRepository()).gc().get(); // create pack files
head = remote.commit().message("1").parent(commit0)
.add("test1.txt", remote.blob("1"))