Fix generics compiler warnings
This commit is contained in:
@@ -36,7 +36,7 @@ public class DecoratedSimpleLog extends SimpleLog {
|
|||||||
private static final long serialVersionUID = 196544280770017153L;
|
private static final long serialVersionUID = 196544280770017153L;
|
||||||
|
|
||||||
// Cache of logged records
|
// Cache of logged records
|
||||||
protected ArrayList cache = new ArrayList();
|
protected ArrayList<LogRecord> cache = new ArrayList<>();
|
||||||
|
|
||||||
public DecoratedSimpleLog(final String name) {
|
public DecoratedSimpleLog(final String name) {
|
||||||
super(name);
|
super(name);
|
||||||
@@ -48,7 +48,7 @@ public class DecoratedSimpleLog extends SimpleLog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Return cache
|
// Return cache
|
||||||
public List getCache() {
|
public List<LogRecord> getCache() {
|
||||||
return this.cache;
|
return this.cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user