diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 15:20:39 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:00 +0200 |
commit | 33ec740d1438c3dddf8e1974757ed05bb76425ca (patch) | |
tree | 37868edd825fe8f3777a077549e61f1379da7cd3 /qadevOOo/runner/org | |
parent | 10dd7e74c551f3e252405ba0f80a2f143d9129e5 (diff) |
Java5 update - Convert Hashtable to HashMap
Change-Id: Ibb568e841ff574d5232429ce0ba99e421ed7f05c
Diffstat (limited to 'qadevOOo/runner/org')
-rw-r--r-- | qadevOOo/runner/org/openoffice/Runner.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/qadevOOo/runner/org/openoffice/Runner.java b/qadevOOo/runner/org/openoffice/Runner.java index 57b624cf86e9..17a5e209d2af 100644 --- a/qadevOOo/runner/org/openoffice/Runner.java +++ b/qadevOOo/runner/org/openoffice/Runner.java @@ -17,14 +17,17 @@ */ package org.openoffice; +import helper.CfgParser; +import helper.ClParser; + import java.util.Enumeration; +import java.util.Iterator; import java.util.Properties; import java.util.StringTokenizer; + import lib.TestParameters; import util.DynamicClassLoader; import base.TestBase; -import helper.ClParser; -import helper.CfgParser; /** * The main class, will call ClParser and CfgParser to <br> @@ -151,10 +154,10 @@ public class Runner bEmergencyStop |= checkPathVariable("sun.boot.class.path", sDelim); // ----- check all TestParameters ----- - aEnum = _aParams.keys(); - while (aEnum.hasMoreElements()) + Iterator aIter = _aParams.keySet().iterator(); + while (aIter.hasNext()) { - String sKey = (String) aEnum.nextElement(); + String sKey = (String) aIter.next(); if (_aParams.get(sKey) instanceof String) { String sValue = (String) _aParams.get(sKey); |