< prev index next >
src/com/sun/javatest/tool/FileHistory.java
Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg
*** 91,104 ****
if (!WorkDirectory.isWorkDirectory(wdFile))
return null;
// let's find in the cache work dir corresponding to the path
! Iterator it = cache.keySet().iterator();
WorkDirectory wd = null;
while (it.hasNext()) {
! WorkDirectory tempWD = ((WorkDirectory)it.next());
if (tempWD.getRoot().equals(wdFile)) {
wd = tempWD;
break;
}
}
--- 91,104 ----
if (!WorkDirectory.isWorkDirectory(wdFile))
return null;
// let's find in the cache work dir corresponding to the path
! Iterator<WorkDirectory> it = cache.keySet().iterator();
WorkDirectory wd = null;
while (it.hasNext()) {
! WorkDirectory tempWD = it.next();
if (tempWD.getRoot().equals(wdFile)) {
wd = tempWD;
break;
}
}
< prev index next >