Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
joonhaengHeo committed Oct 28, 2022
1 parent 8aedeb8 commit 9cc449d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/controller/java/CHIPDeviceController-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -1184,7 +1185,8 @@ CHIP_ERROR ParseAttributePathList(jobject attributePathList, std::vector<app::At
{
jint listSize;

if (attributePathList == nullptr) {
if (attributePathList == nullptr)
{
return CHIP_NO_ERROR;
}

Expand Down Expand Up @@ -1248,7 +1250,8 @@ CHIP_ERROR ParseEventPathList(jobject eventPathList, std::vector<app::EventPathP
{
jint listSize;

if (eventPathList == nullptr) {
if (eventPathList == nullptr)
{
return CHIP_NO_ERROR;
}

Expand Down

0 comments on commit 9cc449d

Please sign in to comment.