This is an automated email from the ASF dual-hosted git repository.

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 727dd4c  Minor change to the comment
727dd4c is described below

commit 727dd4cd2b76e1c0d507a384f550a8f646a4fbc8
Author: gejun <ge...@bilibili.com>
AuthorDate: Tue May 14 18:13:27 2019 +0800

    Minor change to the comment
---
 src/butil/recordio.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/butil/recordio.h b/src/butil/recordio.h
index 5c1369f..67b4994 100755
--- a/src/butil/recordio.h
+++ b/src/butil/recordio.h
@@ -23,7 +23,7 @@
 
 namespace butil {
 
-// One Payload + Zero or multiple Metas.
+// 0-or-1 Payload + 0-or-multiple Metas.
 // Payload and metas are often serialized form of protobuf messages. As a
 // correspondence, the implementation is not optimized for very small blobs,
 // which should be batched properly before inserting(e.g. using repeated
@@ -60,7 +60,7 @@ public:
     // Returns true on erased, false on absent.
     bool RemoveMeta(const butil::StringPiece& name);
 
-    // Get the payload.
+    // Get the payload. Empty by default.
     const butil::IOBuf& Payload() const { return _payload; }
 
     // Get a mutable pointer to the payload.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to