diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-06-07 12:12:44 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2019-06-07 12:12:44 +0900 |
commit | 00f840dcd1fc53b3face0d824af0eb9de9d19f08 (patch) | |
tree | ee529c0fc77b9151107747d19506be00f75bded1 /org.eclipse.jgit.pgm/pom.xml | |
parent | b5a1b770a05848983688b81b5318f6ce15ead68d (diff) | |
download | jgit-00f840dcd1fc53b3face0d824af0eb9de9d19f08.tar.gz jgit-00f840dcd1fc53b3face0d824af0eb9de9d19f08.zip |
Consistently use "!isEmpty()" to detect non-empty list
Replace "size() > 0" with "!isEmpty()" where appropriate.
In the Status implementation we can drop the check; the subsequent
loop will only execute when the list is non-empty anyway.
Change-Id: I355aff551a603373e702a9d44304f087b476263c
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/pom.xml')
0 files changed, 0 insertions, 0 deletions