aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorkostik <kostik@yandex-team.ru>2022-02-10 16:49:22 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:22 +0300
commit89516f2fd8e143755ba2973385407d77676b18a0 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parentf7619e21ba894db354477390e8fe96256a6eb14a (diff)
downloadydb-89516f2fd8e143755ba2973385407d77676b18a0.tar.gz
Restoring authorship annotation for <kostik@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/messagebus/oldmodule/module.h6
-rw-r--r--library/cpp/messagebus/ybus.h2
-rw-r--r--library/cpp/yson/parser.cpp14
-rw-r--r--library/cpp/yson/parser.h10
-rw-r--r--library/cpp/yson/parser_detail.h8
5 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/messagebus/oldmodule/module.h b/library/cpp/messagebus/oldmodule/module.h
index 050f9c92ed..8d1c4a5d52 100644
--- a/library/cpp/messagebus/oldmodule/module.h
+++ b/library/cpp/messagebus/oldmodule/module.h
@@ -8,7 +8,7 @@
/// modules that communicate with multiple external or local sessions
/// NBus::TBusSession.
-/// To implement the module some virtual functions needs to be overridden:
+/// To implement the module some virtual functions needs to be overridden:
/// NBus::TBusModule::CreateExtSession() creates and registers an
/// external session that receives incoming messages as input for module
@@ -25,11 +25,11 @@
/// factory method NBus::IJobFactory::CreateJobInstance() to create your instances.
/// Processing of a given message starts with a call to NBus::TBusModule::Start()
-/// handler that should be overridden in the module implementation. Within
+/// handler that should be overridden in the module implementation. Within
/// the callback handler module can perform any computation and access any
/// datastore tables that it needs. The handler can also access any module
/// variables. However, same handler can be called from multiple threads so,
-/// it is recommended that handler only access read-only module level variables.
+/// it is recommended that handler only access read-only module level variables.
/// Handler should use NBus::TBusJob::Send() to send messages to other client
/// sessions and it can use NBus::TBusJob::Reply() to send reply to the main
diff --git a/library/cpp/messagebus/ybus.h b/library/cpp/messagebus/ybus.h
index 94f12de7c5..de21ad8521 100644
--- a/library/cpp/messagebus/ybus.h
+++ b/library/cpp/messagebus/ybus.h
@@ -1,6 +1,6 @@
#pragma once
-/// Asynchronous Messaging Library implements framework for sending and
+/// Asynchronous Messaging Library implements framework for sending and
/// receiving messages between loosely connected processes.
#include "coreconn.h"
diff --git a/library/cpp/yson/parser.cpp b/library/cpp/yson/parser.cpp
index 95cfbb13b1..783f9b9047 100644
--- a/library/cpp/yson/parser.cpp
+++ b/library/cpp/yson/parser.cpp
@@ -161,19 +161,19 @@ namespace NYson {
TYsonListParser::TYsonListParser(
NYT::NYson::IYsonConsumer* consumer,
IInputStream* stream,
- bool enableLinePositionInfo,
+ bool enableLinePositionInfo,
TMaybe<ui64> memoryLimit)
: Impl(new TImpl(consumer, stream, enableLinePositionInfo, memoryLimit))
- {
- }
-
+ {
+ }
+
TYsonListParser::~TYsonListParser() {
}
-
+
bool TYsonListParser::Parse() {
return Impl->Parse();
}
-
+
////////////////////////////////////////////////////////////////////////////////
-
+
} // namespace NYson
diff --git a/library/cpp/yson/parser.h b/library/cpp/yson/parser.h
index c83fd921f4..dce35a8cd4 100644
--- a/library/cpp/yson/parser.h
+++ b/library/cpp/yson/parser.h
@@ -61,23 +61,23 @@ namespace NYson {
TMaybe<ui64> memoryLimit = Nothing());
~TYsonListParser();
-
+
bool Parse(); // Returns false, if there is no more list items
-
+
private:
class TImpl;
THolder<TImpl> Impl;
};
-
+
////////////////////////////////////////////////////////////////////////////////
-
+
void ParseYsonStringBuffer(
const TStringBuf& buffer,
NYT::NYson::IYsonConsumer* consumer,
EYsonType type = ::NYson::EYsonType::Node,
bool enableLinePositionInfo = false,
TMaybe<ui64> memoryLimit = Nothing());
-
+
////////////////////////////////////////////////////////////////////////////////
} // namespace NYson
diff --git a/library/cpp/yson/parser_detail.h b/library/cpp/yson/parser_detail.h
index c4820f5ca7..44223caf12 100644
--- a/library/cpp/yson/parser_detail.h
+++ b/library/cpp/yson/parser_detail.h
@@ -58,7 +58,7 @@ namespace NYson {
TBase::SkipCharToken(EndAttributesSymbol);
Consumer->OnEndAttributes();
}
-
+
void ParseMap() {
Consumer->OnBeginMap();
ParseMapFragment(EndMapSymbol);
@@ -323,11 +323,11 @@ namespace NYson {
class TStatelessYsonParserImplBase {
public:
virtual void Parse(const TStringBuf& data, EYsonType type = ::NYson::EYsonType::Node) = 0;
-
+
virtual ~TStatelessYsonParserImplBase() {
- }
+ }
};
-
+
template <class TConsumer, bool EnableLinePositionInfo>
class TStatelessYsonParserImpl
: public TStatelessYsonParserImplBase {