Fix compiler warning
This commit is contained in:
@@ -955,7 +955,7 @@ public abstract class LogFactory {
|
|||||||
* @return a named logger.
|
* @return a named logger.
|
||||||
* @throws LogConfigurationException if a suitable {@code Log} instance cannot be returned
|
* @throws LogConfigurationException if a suitable {@code Log} instance cannot be returned
|
||||||
*/
|
*/
|
||||||
public static Log getLog(final Class clazz) throws LogConfigurationException {
|
public static Log getLog(final Class<?> clazz) throws LogConfigurationException {
|
||||||
return getFactory().getInstance(clazz);
|
return getFactory().getInstance(clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1220,7 +1220,7 @@ public abstract class LogFactory {
|
|||||||
* @param clazz is the class whose classloader + tree are to be
|
* @param clazz is the class whose classloader + tree are to be
|
||||||
* output.
|
* output.
|
||||||
*/
|
*/
|
||||||
private static void logClassLoaderEnvironment(final Class clazz) {
|
private static void logClassLoaderEnvironment(final Class<?> clazz) {
|
||||||
if (!isDiagnosticsEnabled()) {
|
if (!isDiagnosticsEnabled()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1536,7 +1536,7 @@ public abstract class LogFactory {
|
|||||||
* @return a name from the specified class.
|
* @return a name from the specified class.
|
||||||
* @throws LogConfigurationException if a suitable {@code Log} instance cannot be returned
|
* @throws LogConfigurationException if a suitable {@code Log} instance cannot be returned
|
||||||
*/
|
*/
|
||||||
public abstract Log getInstance(Class clazz) throws LogConfigurationException;
|
public abstract Log getInstance(Class<?> clazz) throws LogConfigurationException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs (if necessary) and return a {@code Log} instance, using the factory's current set of configuration attributes.
|
* Constructs (if necessary) and return a {@code Log} instance, using the factory's current set of configuration attributes.
|
||||||
|
|||||||
Reference in New Issue
Block a user