332432 Scanner.java now always scanning the canonical form of File
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2607 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
176876039c
commit
f5cb715b78
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
jetty-7.2.3-SNAPSHOT
|
jetty-7.2.3-SNAPSHOT
|
||||||
|
+ 332432 Scanner.java now always scanning the canonical form of File
|
||||||
+ 332179 Fixed formatting of negative dates
|
+ 332179 Fixed formatting of negative dates
|
||||||
|
|
||||||
jetty-7.2.2.v20101205 5 December 2010
|
jetty-7.2.2.v20101205 5 December 2010
|
||||||
|
|
|
@ -356,7 +356,14 @@ public class Scanner
|
||||||
File dir = itor.next();
|
File dir = itor.next();
|
||||||
|
|
||||||
if ((dir != null) && (dir.exists()))
|
if ((dir != null) && (dir.exists()))
|
||||||
scanFile(dir, _currentScan,0);
|
try
|
||||||
|
{
|
||||||
|
scanFile(dir.getCanonicalFile(), _currentScan,0);
|
||||||
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
Log.warn("Error scanning files.", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue