diff options
Diffstat (limited to 'qadevOOo/runner/org/openoffice/Runner.java')
-rw-r--r-- | qadevOOo/runner/org/openoffice/Runner.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/org/openoffice/Runner.java b/qadevOOo/runner/org/openoffice/Runner.java index 17a5e209d2af..7ee8404f2355 100644 --- a/qadevOOo/runner/org/openoffice/Runner.java +++ b/qadevOOo/runner/org/openoffice/Runner.java @@ -131,7 +131,7 @@ public class Runner } Properties aProps = System.getProperties(); - Enumeration aEnum = aProps.propertyNames(); + Enumeration<?> aEnum = aProps.propertyNames(); // Enumeration aEnum = aProps.elements(); // these are only the values boolean bEmergencyStop = false; @@ -154,10 +154,10 @@ public class Runner bEmergencyStop |= checkPathVariable("sun.boot.class.path", sDelim); // ----- check all TestParameters ----- - Iterator aIter = _aParams.keySet().iterator(); + Iterator<String> aIter = _aParams.keySet().iterator(); while (aIter.hasNext()) { - String sKey = (String) aIter.next(); + String sKey = aIter.next(); if (_aParams.get(sKey) instanceof String) { String sValue = (String) _aParams.get(sKey); |