diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-09-04 14:23:14 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-09-05 08:39:32 +0900 |
commit | 2173f441589fbab7214bf59ea1330fff2c9f4c37 (patch) | |
tree | e483cc8a9c7fd6c13137cda818c81d0b48e3afd4 /org.eclipse.jgit.http.server/pom.xml | |
parent | 559c68cb012b971bf506d12aaf0a0f0504c9780b (diff) | |
download | jgit-2173f441589fbab7214bf59ea1330fff2c9f4c37.tar.gz jgit-2173f441589fbab7214bf59ea1330fff2c9f4c37.zip |
UploadPackTest: Avoid unnecessarily boxing int into Integer
The statement:
assertThat(recvStream.available(), is(0));
results in a warning from Eclipse:
The expression of type int is boxed into Integer
because recvStream.available() returns int, but the hamcrest is()
method takes an Integer.
Replace it with the equivalent JUnit assertion.
Also remove the suppression of another similar warning and fix that
in the same way.
Change-Id: I6f18b304a540bcd0a10aec7d3abc7dc6f047fe80
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.server/pom.xml')
0 files changed, 0 insertions, 0 deletions