From 12903325c74a4e1441b478d5979d7a76e23102a6 Mon Sep 17 00:00:00 2001 From: yunhanw-google Date: Fri, 16 Feb 2024 07:03:18 -0800 Subject: [PATCH] [Android]remove unused status newInstance (#32160) --- .../java/src/chip/devicecontroller/model/Status.java | 4 ---- 1 file changed, 4 deletions(-) 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()); }