aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/proto2json_printer.cpp
diff options
context:
space:
mode:
authorstakanviski <stakanviski@yandex-team.ru>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:01 +0300
commitda8356a5535e6177965cba3bbae73c5fb28f6ccc (patch)
tree61a6bb4fa5e2c51ac92f621f5a9eba5658d8aba0 /library/cpp/protobuf/json/proto2json_printer.cpp
parentc345445ed6cb1fc34136ef6f02ce07f5aff9e504 (diff)
downloadydb-da8356a5535e6177965cba3bbae73c5fb28f6ccc.tar.gz
Restoring authorship annotation for <stakanviski@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/proto2json_printer.cpp')
-rw-r--r--library/cpp/protobuf/json/proto2json_printer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp
index 6123eab0f2..dd244978da 100644
--- a/library/cpp/protobuf/json/proto2json_printer.cpp
+++ b/library/cpp/protobuf/json/proto2json_printer.cpp
@@ -3,7 +3,7 @@
#include "util.h"
#include <util/generic/yexception.h>
-#include <util/string/ascii.h>
+#include <util/string/ascii.h>
#include <util/string/cast.h>
namespace NProtobufJson {
@@ -36,7 +36,7 @@ namespace NProtobufJson {
NewKeyBuf = field.name();
break;
}
-
+
case TProto2JsonConfig::FieldNameLowerCase: {
NewKeyStr = field.name();
NewKeyStr.to_lower();
@@ -76,9 +76,9 @@ namespace NProtobufJson {
default:
Y_VERIFY_DEBUG(false, "Unknown FieldNameMode.");
- }
- }
-
+ }
+ }
+
const TStringBuf& GetKey() const {
return NewKeyBuf;
}