diff --git a/src/controller/java/src/chip/devicecontroller/model/Status.java b/src/controller/java/src/chip/devicecontroller/model/Status.java index af97d84d9a099a..c367535f5e8578 100644 --- a/src/controller/java/src/chip/devicecontroller/model/Status.java +++ b/src/controller/java/src/chip/devicecontroller/model/Status.java @@ -47,10 +47,6 @@ public String toString() { clusterStatus.isPresent() ? String.valueOf(clusterStatus.get()) : "None"); } - public static Status newInstance(int status, int clusterStatus) { - return new Status(status, Optional.of(clusterStatus)); - } - public static Status newInstance(int status) { return new Status(status, Optional.empty()); }