summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMasaya Suzuki <masayasuzuki@google.com>2018-08-21 10:00:59 -0700
committerMasaya Suzuki <masayasuzuki@google.com>2018-08-21 10:28:37 -0700
commit36346bd81c4cf1067fc18664ada3965b645f4138 (patch)
tree7357ae8a38c4814383683dde45803eebf87973b3 /org.eclipse.jgit/src
parentaf75250a45e49b9cda832287076131db15174410 (diff)
downloadjgit-36346bd81c4cf1067fc18664ada3965b645f4138.tar.gz
jgit-36346bd81c4cf1067fc18664ada3965b645f4138.zip
Add SuppressWarnings for FutureReturnValueIgnored
https://errorprone.info/bugpattern/FutureReturnValueIgnored The submitted task logs the error in case it fails. Change-Id: I280442ddb8046da47aeb79d005886f65d2e3067b Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
index 3fab484f29..dbf8eb7804 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
@@ -244,6 +244,7 @@ public class GC {
* parsed
*/
// TODO(ms): in 5.0 change signature and return Future<Collection<PackFile>>
+ @SuppressWarnings("FutureReturnValueIgnored")
public Collection<PackFile> gc() throws IOException, ParseException {
if (!background) {
return doGc();