>>55
Optional<Data> targetData = findById(id);
return targetData.map(data->update(data)).orElse(false);

確認してないけどこれじゃだめかね