replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead

This commit is contained in:
ingmargoudt 2016-09-14 15:27:03 +02:00
parent 3612332607
commit 3128bd2b4b
48 changed files with 90 additions and 109 deletions

View file

@ -70,7 +70,7 @@ public class CostsImpl<T extends Cost> extends ArrayList<T> implements Costs<T>
if (text != null) {
return text;
}
if (this.size() == 0) {
if (this.isEmpty()) {
return "";
}