Fix compiler warnings
This commit is contained in:
@@ -250,7 +250,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
/**
|
/**
|
||||||
* Configuration attributes.
|
* Configuration attributes.
|
||||||
*/
|
*/
|
||||||
protected Hashtable attributes = new Hashtable();
|
protected Hashtable<String, Object> attributes = new Hashtable<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@link org.apache.commons.logging.Log} instances that have
|
* The {@link org.apache.commons.logging.Log} instances that have
|
||||||
@@ -666,7 +666,7 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String[] getAttributeNames() {
|
public String[] getAttributeNames() {
|
||||||
return (String[]) attributes.keySet().toArray(EMPTY_STRING_ARRAY);
|
return attributes.keySet().toArray(EMPTY_STRING_ARRAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user