summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/graphical
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-21 08:27:25 +0200
committerNoel Grandin <noel@peralex.com>2014-10-07 13:20:03 +0200
commit68fa1410975ccecc35db8a97669f0fbe5ef9b451 (patch)
tree5fd946ab04ea37e17813ec3c0345badc59ae5400 /qadevOOo/runner/graphical
parent81968336ea6433293c603110a75bd13d5898c0eb (diff)
java: use isEmpty() instead of "size() == 0"
Change-Id: I23e1038246999b0744d8e9ae83b66fa1f7dafa99
Diffstat (limited to 'qadevOOo/runner/graphical')
-rw-r--r--qadevOOo/runner/graphical/IniFile.java2
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++)