Fix compiler warning
This commit is contained in:
@@ -702,8 +702,7 @@ public abstract class LogFactory {
|
|||||||
* attempting to get the context classloader.
|
* attempting to get the context classloader.
|
||||||
*/
|
*/
|
||||||
private static ClassLoader getContextClassLoaderInternal() throws LogConfigurationException {
|
private static ClassLoader getContextClassLoaderInternal() throws LogConfigurationException {
|
||||||
return (ClassLoader)AccessController.doPrivileged(
|
return AccessController.doPrivileged((PrivilegedAction<ClassLoader>) LogFactory::directGetContextClassLoader);
|
||||||
(PrivilegedAction) LogFactory::directGetContextClassLoader);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user