Fix HER-1955 Some annoying interaction between new creation of latest link and disk full java bean

* DiskSpaceMonitor.java
    checkAvailableSpace() - really do ignore non-existent paths, as comment and log message claim is done
This commit is contained in:
nlevitt
2011-09-30 20:07:15 +00:00
parent c5de0048d1
commit a76f9818f9
@@ -131,7 +131,8 @@ public class DiskSpaceMonitor implements ApplicationListener {
if (!path.exists()) {
// Paths that can not be resolved will not report accurate
// available space. Log and ignore.
logger.fine("Ignoring non-existant path " + path.getAbsolutePath());
logger.fine("Ignoring non-existent path " + path.getAbsolutePath());
return;
}
long availBytes = path.getUsableSpace();
long thresholdBytes = getPauseThresholdMiB() * 1024 * 1024;