We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b43634 commit 383e69fCopy full SHA for 383e69f
1 file changed
google/cloud/storage/internal/object_metadata_parser.cc
@@ -47,9 +47,7 @@ void SetIfNotEmpty(char const* key, std::string const& value,
47
*/
48
void SetJsonContextsIfNotEmpty(ObjectMetadata const& meta,
49
nlohmann::json& json) {
50
- if (!meta.has_contexts()) {
51
- return;
52
- }
+ if (!meta.has_contexts()) return;
53
54
nlohmann::json custom_json;
55
for (auto const& kv : meta.contexts().custom()) {
0 commit comments