diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-07 10:53:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:31 +0200 |
commit | 9851925959c564e37235da29b3bd347ff1dc3d01 (patch) | |
tree | 8f27abcd3b413c9c7da197552ed27140da70e5f4 /qadevOOo/runner | |
parent | 5656fe58a0e2083be45c0b9ca7aff41054d7146a (diff) |
java: return value of trim() ignored
Change-Id: If4cd3eb3e6db0c095796b0ff018162e855afa38c
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/convwatch/IniFile.java | 1 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/IniFile.java | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/qadevOOo/runner/convwatch/IniFile.java b/qadevOOo/runner/convwatch/IniFile.java index b02ddf3ebaf8..58f39e9e4c38 100644 --- a/qadevOOo/runner/convwatch/IniFile.java +++ b/qadevOOo/runner/convwatch/IniFile.java @@ -241,7 +241,6 @@ class IniFile int nEqual = sLine.indexOf("="); if (nEqual >= 0) { - sLine.substring(0, nEqual).trim(); String sValue = sLine.substring(nEqual + 1).trim(); return sValue; } diff --git a/qadevOOo/runner/graphical/IniFile.java b/qadevOOo/runner/graphical/IniFile.java index f3bd88b764cd..9640e6076a73 100644 --- a/qadevOOo/runner/graphical/IniFile.java +++ b/qadevOOo/runner/graphical/IniFile.java @@ -296,7 +296,6 @@ public class IniFile implements Enumeration<String> int nEqual = sLine.indexOf("="); if (nEqual >= 0) { - sLine.substring(0, nEqual).trim(); String sValue = sLine.substring(nEqual + 1).trim(); return sValue; } |