new X[] {} vervangen door new X[0]
This commit is contained in:
@@ -20,15 +20,15 @@ public class Mimis extends EventHandler {
|
|||||||
protected Manager<Device> deviceManager;
|
protected Manager<Device> deviceManager;
|
||||||
|
|
||||||
public Mimis(EventRouter eventRouter) {
|
public Mimis(EventRouter eventRouter) {
|
||||||
this(eventRouter, new Application[] {}, new Device[] {});
|
this(eventRouter, new Application[0], new Device[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Mimis(EventRouter eventRouter, Application[] applicationArray) {
|
public Mimis(EventRouter eventRouter, Application[] applicationArray) {
|
||||||
this(eventRouter, applicationArray, new Device[] {});
|
this(eventRouter, applicationArray, new Device[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Mimis(EventRouter eventRouter, Device[] deviceArray) {
|
public Mimis(EventRouter eventRouter, Device[] deviceArray) {
|
||||||
this(eventRouter, new Application[] {}, deviceArray);
|
this(eventRouter, new Application[0], deviceArray);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Mimis(EventRouter eventRouter, Application[] applicationArray, Device[] deviceArray) {
|
public Mimis(EventRouter eventRouter, Application[] applicationArray, Device[] deviceArray) {
|
||||||
|
|||||||
Reference in New Issue
Block a user