if (result.isGood() && item != null) {
item.setMonitoringMode(monitoringMode);
}
}
<BUG>return Arrays.asList(results);
});</BUG>
}
@Override
public CompletableFuture<StatusCode> setPublishingMode(boolean publishingEnabled) {
return client.setPublishingMode(publishingEnabled, newArrayList(subscriptionId))

if (result.isGood() && item != null) {
item.setMonitoringMode(monitoringMode);
}
}
return results;
});
}
@Override
public CompletableFuture<StatusCode> setPublishingMode(boolean publishingEnabled) {
return client.setPublishingMode(publishingEnabled, newArrayList(subscriptionId))
