Merge branch 'jetty-9.2.x'

This commit is contained in:
Joakim Erdfelt 2015-05-22 15:57:02 -07:00
commit 1925867757
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ public class Scanner extends AbstractLifeCycle
if (LOG.isDebugEnabled())
LOG.debug("scan accepted {}",f);
String name = f.getCanonicalPath();
scanInfoMap.put(name, new TimeNSize(f.lastModified(),f.length()));
scanInfoMap.put(name, new TimeNSize(f.lastModified(),f.isDirectory()?0:f.length()));
}
else
{