Remove the redundant words in comments

Although it is spelling mistakes, it might make an affects while reading docs.

Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
pull/18102/head
Kim Bao Long 6 years ago
parent 318c67782a
commit 0203bf74f5
  1. 2
      src/compiler/cpp_generator_helpers.h
  2. 2
      src/compiler/csharp_generator_helpers.h
  3. 2
      src/compiler/node_generator_helpers.h
  4. 2
      src/compiler/php_generator_helpers.h
  5. 2
      src/compiler/ruby_generator_helpers-inl.h
  6. 2
      src/core/lib/surface/completion_queue.cc
  7. 4
      src/python/grpcio_tests/tests/protoc_plugin/beta_python_plugin_test.py

@ -52,7 +52,7 @@ inline grpc::string ClassName(const grpc::protobuf::Descriptor* descriptor,
}
// Get leading or trailing comments in a string. Comment lines start with "// ".
// Leading detached comments are put in in front of leading comments.
// Leading detached comments are put in front of leading comments.
template <typename DescriptorType>
inline grpc::string GetCppComments(const DescriptorType* desc, bool leading) {
return grpc_generator::GetPrefixedComments(desc, leading, "//");

@ -32,7 +32,7 @@ inline bool ServicesFilename(const grpc::protobuf::FileDescriptor* file,
}
// Get leading or trailing comments in a string. Comment lines start with "// ".
// Leading detached comments are put in in front of leading comments.
// Leading detached comments are put in front of leading comments.
template <typename DescriptorType>
inline grpc::string GetCsharpComments(const DescriptorType* desc,
bool leading) {

@ -31,7 +31,7 @@ inline grpc::string GetJSServiceFilename(const grpc::string& filename) {
}
// Get leading or trailing comments in a string. Comment lines start with "// ".
// Leading detached comments are put in in front of leading comments.
// Leading detached comments are put in front of leading comments.
template <typename DescriptorType>
inline grpc::string GetNodeComments(const DescriptorType* desc, bool leading) {
return grpc_generator::GetPrefixedComments(desc, leading, "//");

@ -63,7 +63,7 @@ inline grpc::string GetPHPServiceFilename(
}
// Get leading or trailing comments in a string. Comment lines start with "// ".
// Leading detached comments are put in in front of leading comments.
// Leading detached comments are put in front of leading comments.
template <typename DescriptorType>
inline grpc::string GetPHPComments(const DescriptorType* desc,
grpc::string prefix) {

@ -47,7 +47,7 @@ inline grpc::string MessagesRequireName(
}
// Get leading or trailing comments in a string. Comment lines start with "# ".
// Leading detached comments are put in in front of leading comments.
// Leading detached comments are put in front of leading comments.
template <typename DescriptorType>
inline grpc::string GetRubyComments(const DescriptorType* desc, bool leading) {
return grpc_generator::GetPrefixedComments(desc, leading, "#");

@ -1097,7 +1097,7 @@ static void cq_shutdown_next(grpc_completion_queue* cq) {
}
cqd->shutdown_called = true;
/* Doing a full_fetch_add (i.e acq/release) here to match with
* cq_begin_op_for_next and and cq_end_op_for_next functions which read/write
* cq_begin_op_for_next and cq_end_op_for_next functions which read/write
* on this counter without necessarily holding a lock on cq */
if (gpr_atm_full_fetch_add(&cqd->pending_events, -1) == 1) {
cq_finish_shutdown_next(cq);

@ -195,7 +195,7 @@ def _CreateService(payload_pb2, responses_pb2, service_pb2):
Yields:
A (servicer_methods, stub) pair where servicer_methods is the back-end of
the service bound to the stub and and stub is the stub on which to invoke
the service bound to the stub and stub is the stub on which to invoke
RPCs.
"""
servicer_methods = _ServicerMethods(payload_pb2, responses_pb2)
@ -237,7 +237,7 @@ def _CreateIncompleteService(service_pb2):
service_pb2: The service_pb2 module generated by this test.
Yields:
A (servicer_methods, stub) pair where servicer_methods is the back-end of
the service bound to the stub and and stub is the stub on which to invoke
the service bound to the stub and stub is the stub on which to invoke
RPCs.
"""

Loading…
Cancel
Save