Simplify JUL support check
This commit is contained in:
@@ -85,8 +85,7 @@ public class LogSource {
|
|||||||
|
|
||||||
// Is JDK 1.4 Logging Available?
|
// Is JDK 1.4 Logging Available?
|
||||||
try {
|
try {
|
||||||
jdk14IsAvailable = null != Class.forName("java.util.logging.Logger") &&
|
jdk14IsAvailable = null != Class.forName("org.apache.commons.logging.impl.Jdk14Logger");
|
||||||
null != Class.forName("org.apache.commons.logging.impl.Jdk14Logger");
|
|
||||||
} catch (final Throwable t) {
|
} catch (final Throwable t) {
|
||||||
jdk14IsAvailable = false;
|
jdk14IsAvailable = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user