From fa92835f6242f82cd6d69d1c26747507cdcea9cd Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 18 Oct 2016 04:24:20 +0800 Subject: [PATCH] Work around javac type inference issues --- source/net/filebot/Logging.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/Logging.java b/source/net/filebot/Logging.java index 611835b3..fb8a61a2 100644 --- a/source/net/filebot/Logging.java +++ b/source/net/filebot/Logging.java @@ -22,7 +22,7 @@ public final class Logging { private static final SystemProperty debugLevel = SystemProperty.of("net.filebot.logging.debug", Level::parse, Level.WARNING); private static final SystemProperty anonymizePattern = SystemProperty.of("net.filebot.logging.anonymize", Pattern::compile); - private static final SystemProperty color = SystemProperty.of("net.filebot.logging.color", Boolean::parseBoolean, Color::isSupported); + private static final SystemProperty color = SystemProperty.of("net.filebot.logging.color", Boolean::parseBoolean, Color.isSupported()); public static final Logger log = createConsoleLogger("net.filebot.console", Level.ALL); public static final Logger debug = createConsoleLogger("net.filebot.debug", debugLevel.get());