diff options
author | Masaya Suzuki | 2018-08-21 17:00:59 +0000 |
---|---|---|
committer | Masaya Suzuki | 2018-08-21 17:28:37 +0000 |
commit | 36346bd81c4cf1067fc18664ada3965b645f4138 (patch) | |
tree | 7357ae8a38c4814383683dde45803eebf87973b3 | |
parent | af75250a45e49b9cda832287076131db15174410 (diff) | |
download | jgit-36346bd81c4cf1067fc18664ada3965b645f4138.tar.gz jgit-36346bd81c4cf1067fc18664ada3965b645f4138.tar.xz 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>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java | 1 |
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(); |