summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2019-06-08 15:47:42 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2019-06-11 10:51:30 +0900
commit8bd0ba0f150feb485295f8c3890648eddf05fa41 (patch)
tree32ffee262ac41dc3adef2b3fc0c6a97a35c88f14 /tools
parent518dc8638073a8371b4d5d77c265d70f96d62ff1 (diff)
downloadjgit-8bd0ba0f150feb485295f8c3890648eddf05fa41.tar.gz
jgit-8bd0ba0f150feb485295f8c3890648eddf05fa41.zip
ErrorProne: Increase severity of FutureReturnValueIgnored to ERROR
The only remaining code where the return value is ignored is in tests. Update them to store the value and perform a basic assertion. Change-Id: I29ef5bd5dd0648aac3490f9e47ecc74544109652 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 9025e0a6d3..abf6c9dc0b 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -42,7 +42,7 @@ java_package_configuration(
"-Xep:FragmentInjection:WARN",
"-Xep:FragmentNotInstantiable:WARN",
"-Xep:FunctionalInterfaceClash:WARN",
- "-Xep:FutureReturnValueIgnored:WARN",
+ "-Xep:FutureReturnValueIgnored:ERROR",
"-Xep:GetClassOnEnum:WARN",
"-Xep:ImmutableAnnotationChecker:WARN",
"-Xep:ImmutableEnumChecker:WARN",