]> source.dussan.org Git - jgit.git/commit
ErrorProne: Increase severity of FutureReturnValueIgnored to ERROR 77/143577/4
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sat, 8 Jun 2019 06:47:42 +0000 (15:47 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 11 Jun 2019 01:51:30 +0000 (10:51 +0900)
commit8bd0ba0f150feb485295f8c3890648eddf05fa41
tree32ffee262ac41dc3adef2b3fc0c6a97a35c88f14
parent518dc8638073a8371b4d5d77c265d70f96d62ff1
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>
org.eclipse.jgit.lfs.server.test/tst/org/eclipse/jgit/lfs/server/fs/UploadTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcPackRefsTest.java
tools/BUILD