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>
This commit is contained in:
parent
af75250a45
commit
36346bd81c
|
@ -244,6 +244,7 @@ public GC(FileRepository repo) {
|
|||
* 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();
|
||||
|
|
Loading…
Reference in New Issue