diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-21 08:27:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-07 13:20:03 +0200 |
commit | 68fa1410975ccecc35db8a97669f0fbe5ef9b451 (patch) | |
tree | 5fd946ab04ea37e17813ec3c0345badc59ae5400 /qadevOOo/runner/graphical | |
parent | 81968336ea6433293c603110a75bd13d5898c0eb (diff) |
java: use isEmpty() instead of "size() == 0"
Change-Id: I23e1038246999b0744d8e9ae83b66fa1f7dafa99
Diffstat (limited to 'qadevOOo/runner/graphical')
-rw-r--r-- | qadevOOo/runner/graphical/IniFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/graphical/IniFile.java b/qadevOOo/runner/graphical/IniFile.java index 8c3e6f31168e..16bf0ad79743 100644 --- a/qadevOOo/runner/graphical/IniFile.java +++ b/qadevOOo/runner/graphical/IniFile.java @@ -52,7 +52,7 @@ public class IniFile implements Enumeration<String> public void insertFirstComment(String[] _aList) { - if (m_aList.size() == 0) + if (m_aList.isEmpty()) { // can only insert if there is nothing else already in the ini file for (int i = 0; i < _aList.length; i++) |