diff --git a/src/controller/java/CHIPDeviceController-JNI.cpp b/src/controller/java/CHIPDeviceController-JNI.cpp index ea630fd9fce938..ad606dc6d9534e 100644 --- a/src/controller/java/CHIPDeviceController-JNI.cpp +++ b/src/controller/java/CHIPDeviceController-JNI.cpp @@ -1149,7 +1149,8 @@ JNI_METHOD(void, read) err = ParseEventPathList(eventPathList, eventPathParamsList); VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Controller, "Error parsing Java event paths: %s", ErrorStr(err))); - VerifyOrReturn(attributePathParamsList.size() != 0 || eventPathParamsList.size() != 0, ChipLogError(Controller, "Error parsing Java both event paths and attribute paths")); + VerifyOrReturn(attributePathParamsList.size() != 0 || eventPathParamsList.size() != 0, + ChipLogError(Controller, "Error parsing Java both event paths and attribute paths")); app::ReadPrepareParams params(device->GetSecureSession().Value()); params.mpAttributePathParamsList = attributePathParamsList.data(); params.mAttributePathParamsListSize = attributePathParamsList.size(); @@ -1184,7 +1185,8 @@ CHIP_ERROR ParseAttributePathList(jobject attributePathList, std::vector