< prev index next >

src/com/sun/javatest/FileParameters.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

*** 307,318 **** // note envName==null is always a valid environment cachedEnv = null; envError = i18n.getString("fp.envNotFound", envName); return; } ! for (Iterator i = env.elements().iterator(); i.hasNext(); ) { ! TestEnvironment.Element entry = (TestEnvironment.Element) (i.next()); if (entry.value.indexOf("VALUE_NOT_DEFINED") >= 0) { String eText = ( (entry.definedInEnv == null ? "" : "env." + entry.definedInEnv + ".") + entry.key + "=" + entry.value); cachedEnv = null; --- 307,318 ---- // note envName==null is always a valid environment cachedEnv = null; envError = i18n.getString("fp.envNotFound", envName); return; } ! for (Iterator<TestEnvironment.Element> i = env.elements().iterator(); i.hasNext(); ) { ! TestEnvironment.Element entry = i.next(); if (entry.value.indexOf("VALUE_NOT_DEFINED") >= 0) { String eText = ( (entry.definedInEnv == null ? "" : "env." + entry.definedInEnv + ".") + entry.key + "=" + entry.value); cachedEnv = null;
< prev index next >