From 60a27ad122128145d28be37e9c0b0bc86a8e5181 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 23 Jun 2016 19:20:18 +0200 Subject: Remove wrongly repeated words in comments Clean up misrepetitions ('if if', 'the the' etc) found throughout the comments. This has been done manually, after grepping case-insensitively for duplicate if, is, the, then, do, for, an, plus a few other typos corrected in fly-by v2: * proper commit message and non-joke title; * replace two 'as is' followed by 'is' to 'as-is'. v3: * 'a integer' => 'an integer' and similar (originally spotted by Jason Ekstrand, I fixed a few other similar ones while at it) Signed-off-by: Giuseppe Bilotta Reviewed-by: Chad Versace --- src/gtest/include/gtest/internal/gtest-port.h | 2 +- src/gtest/src/gtest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gtest') diff --git a/src/gtest/include/gtest/internal/gtest-port.h b/src/gtest/include/gtest/internal/gtest-port.h index dc4fe0cb6b8..90e06525f63 100644 --- a/src/gtest/include/gtest/internal/gtest-port.h +++ b/src/gtest/include/gtest/internal/gtest-port.h @@ -176,7 +176,7 @@ // string. // // Integer types: -// TypeWithSize - maps an integer to a int type. +// TypeWithSize - maps an integer to an int type. // Int32, UInt32, Int64, UInt64, TimeInMillis // - integers of known sizes. // BiggestInt - the biggest signed integer type. diff --git a/src/gtest/src/gtest.cc b/src/gtest/src/gtest.cc index 6de53dd0198..0f4aa93e7b3 100644 --- a/src/gtest/src/gtest.cc +++ b/src/gtest/src/gtest.cc @@ -1461,7 +1461,7 @@ std::string CodePointToUtf8(UInt32 code_point) { return str; } -// The following two functions only make sense if the the system +// The following two functions only make sense if the system // uses UTF-16 for wide string encoding. All supported systems // with 16 bit wchar_t (Windows, Cygwin, Symbian OS) do use UTF-16. -- cgit v1.2.3