mirror of
https://github.com/corda/corda.git
synced 2025-06-12 20:28:18 +00:00
fix some API compatibility issues in the class library
This commit is contained in:
@ -30,8 +30,8 @@ public class Logger {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public List<Handler> getHandlers() {
|
||||
return new ArrayList<Handler>(handlers);
|
||||
public Handler[] getHandlers() {
|
||||
return handlers.toArray(new Handler[handlers.size()]);
|
||||
}
|
||||
|
||||
public void addHandler(Handler handler) {
|
||||
|
Reference in New Issue
Block a user