diff options
author | yourmary <yourmary@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:35 +0300 |
commit | 6c28d571885436fe17efe87ca39884f80852bb8c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/proto2json_printer.cpp | |
parent | ca865f07201ed0ac6e9673b4d6eb2b3fd6d0af02 (diff) | |
download | ydb-6c28d571885436fe17efe87ca39884f80852bb8c.tar.gz |
Restoring authorship annotation for <yourmary@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/proto2json_printer.cpp')
-rw-r--r-- | library/cpp/protobuf/json/proto2json_printer.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp index ab407edeef..6123eab0f2 100644 --- a/library/cpp/protobuf/json/proto2json_printer.cpp +++ b/library/cpp/protobuf/json/proto2json_printer.cpp @@ -471,14 +471,14 @@ namespace NProtobufJson { for (const FieldDescriptor* field : fields) { Y_ASSERT(field); if (field->is_extension()) { - switch (GetConfig().ExtensionFieldNameMode) { - case TProto2JsonConfig::ExtFldNameFull: - PrintField(proto, *field, json, field->full_name()); - break; - case TProto2JsonConfig::ExtFldNameShort: - PrintField(proto, *field, json); - break; - } + switch (GetConfig().ExtensionFieldNameMode) { + case TProto2JsonConfig::ExtFldNameFull: + PrintField(proto, *field, json, field->full_name()); + break; + case TProto2JsonConfig::ExtFldNameShort: + PrintField(proto, *field, json); + break; + } } } |