Skip to content

Commit

Permalink
Revert "Apply suggestions from code review"
Browse files Browse the repository at this point in the history
This reverts commit 31bcdea.
  • Loading branch information
HoustonPutman committed Dec 19, 2024
1 parent 31bcdea commit 6607118
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,14 @@ public void performBackgroundOperation(final OperationAndData<String> operationA
@Override
public void processResult(int rc, String path, Object o, List<String> strings, Stat stat) {
watching.commitWatcher(rc, false);
if (strings == null) {
strings = Lists.newArrayList();
}
trace.setReturnCode(rc)
.setPath(path)
.setWithWatcher(watching.hasWatcher())
.setStat(stat)
.setResponseChildrenCount(strings != null ? strings.size() : 0)
.setResponseChildrenCount(strings.size())
.commit();
CuratorEventImpl event = new CuratorEventImpl(
client,
Expand Down

0 comments on commit 6607118

Please sign in to comment.