[FIX] Дефолтное значение IGN_OVERFLOW.

This commit is contained in:
Zaxar163 2019-12-18 20:01:38 +01:00
parent f4dcd99639
commit 1e169ce55b
No known key found for this signature in database
GPG key ID: 1FE4F2E1F053831B

View file

@ -47,7 +47,7 @@ public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) th
}; };
public static final String IGN_OVERFLOW = "launcher.dirwatcher.ignoreOverflows"; public static final String IGN_OVERFLOW = "launcher.dirwatcher.ignoreOverflows";
private static final boolean PROP_IGN_OVERFLOW = Boolean.getBoolean(IGN_OVERFLOW); private static final boolean PROP_IGN_OVERFLOW = Boolean.parseBoolean(System.getProperty(IGN_OVERFLOW, "true"));
private static void handleError(Throwable e) { private static void handleError(Throwable e) {
LogHelper.error(e); LogHelper.error(e);