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:
Greg Wilkins 2010-12-13 15:45:18 +00:00
parent 176876039c
commit f5cb715b78
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
jetty-7.2.3-SNAPSHOT
+ 332432 Scanner.java now always scanning the canonical form of File
+ 332179 Fixed formatting of negative dates
jetty-7.2.2.v20101205 5 December 2010

View File

@ -356,7 +356,14 @@ public class Scanner
File dir = itor.next();
if ((dir != null) && (dir.exists()))
scanFile(dir, _currentScan,0);
try
{
scanFile(dir.getCanonicalFile(), _currentScan,0);
}
catch (IOException e)
{
Log.warn("Error scanning files.", e);
}
}
}