From 84f9bc7613d0b2ca97213cec04f4cc24903c8d24 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Wed, 12 Jul 2023 10:55:49 -0700 Subject: [PATCH] Change endpointId type to int to align with other override functions --- .../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),