From 1338544ae9b8997f1298c69a8029bdc3c1fe7318 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Thu, 13 Jul 2023 10:23:36 -0700 Subject: [PATCH] Change endpointId type to int to align with other override functions (#27922) --- .../java/src/chip/devicecontroller/model/ChipEventPath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java b/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java index 5f6f7c6dcd6be5..f3798cc826047c 100644 --- a/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java +++ b/src/controller/java/src/chip/devicecontroller/model/ChipEventPath.java @@ -83,7 +83,7 @@ public static ChipEventPath newInstance( } /** Create a new {@link ChipEventPath} with only concrete ids. */ - public static ChipEventPath newInstance(long endpointId, long clusterId, long eventId) { + public static ChipEventPath newInstance(int endpointId, long clusterId, long eventId) { return new ChipEventPath( ChipPathId.forId(endpointId), ChipPathId.forId(clusterId),