diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/runner/helper/CfgParser.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/helper/CfgParser.java b/qadevOOo/runner/helper/CfgParser.java index 59f0d2745fc3..ea9e7b5c08c5 100644 --- a/qadevOOo/runner/helper/CfgParser.java +++ b/qadevOOo/runner/helper/CfgParser.java @@ -55,11 +55,11 @@ public class CfgParser while (cfgEnum.hasMoreElements()) { String pName = (String) cfgEnum.nextElement(); - Object pValue = cfg.getProperty(pName); + String pValue = cfg.getProperty(pName); - if (pValue instanceof String) + if (pValue != null) { - pValue = ((String) pValue).trim(); + pValue = pValue.trim(); } param.put(pName.trim(), pValue); |