1
0

Fix compiler warning

This commit is contained in:
Gary Gregory
2023-11-19 11:47:13 -05:00
parent 7d6d85a444
commit 544ef7cfe6

View File

@@ -702,8 +702,7 @@ public abstract class LogFactory {
* attempting to get the context classloader.
*/
private static ClassLoader getContextClassLoaderInternal() throws LogConfigurationException {
return (ClassLoader)AccessController.doPrivileged(
(PrivilegedAction) LogFactory::directGetContextClassLoader);
return AccessController.doPrivileged((PrivilegedAction<ClassLoader>) LogFactory::directGetContextClassLoader);
}
/**