aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@google.com>2015-10-30 14:05:24 -0400
committerBenjamin Barenblat <bbaren@google.com>2015-10-30 14:05:24 -0400
commita2ce9cb9ea0a1ed75db5784fa2d2ba0e51c49d83 (patch)
tree110f2b5bfa2143125a3f8599a8fe32ac33411f98
parent46f8a79826dbd6d9c7968baa4939d7e1b6e2b47c (diff)
downloadprotobuf-a2ce9cb9ea0a1ed75db5784fa2d2ba0e51c49d83.tar.gz
protobuf-a2ce9cb9ea0a1ed75db5784fa2d2ba0e51c49d83.tar.bz2
protobuf-a2ce9cb9ea0a1ed75db5784fa2d2ba0e51c49d83.zip
Correct spelling
-rw-r--r--src/google/protobuf/compiler/java/java_message.cc2
-rw-r--r--src/google/protobuf/map_lite_test_util.h2
-rw-r--r--src/google/protobuf/map_test_util.h2
-rw-r--r--src/google/protobuf/map_test_util_impl.h2
-rw-r--r--src/google/protobuf/test_util.h2
-rw-r--r--src/google/protobuf/test_util_lite.h2
-rw-r--r--src/google/protobuf/util/internal/protostream_objectsource.cc2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/google/protobuf/compiler/java/java_message.cc b/src/google/protobuf/compiler/java/java_message.cc
index 19ba0707..5715a432 100644
--- a/src/google/protobuf/compiler/java/java_message.cc
+++ b/src/google/protobuf/compiler/java/java_message.cc
@@ -1356,7 +1356,7 @@ void ImmutableMessageGenerator::GenerateAnyMethods(io::Printer* printer) {
" throws com.google.protobuf.InvalidProtocolBufferException {\n"
" if (!is(clazz)) {\n"
" throw new com.google.protobuf.InvalidProtocolBufferException(\n"
- " \"Type of the Any messsage does not match the given class.\");\n"
+ " \"Type of the Any message does not match the given class.\");\n"
" }\n"
" if (cachedUnpackValue != null) {\n"
" return (T) cachedUnpackValue;\n"
diff --git a/src/google/protobuf/map_lite_test_util.h b/src/google/protobuf/map_lite_test_util.h
index 77b5336f..66dedde5 100644
--- a/src/google/protobuf/map_lite_test_util.h
+++ b/src/google/protobuf/map_lite_test_util.h
@@ -47,7 +47,7 @@ class MapLiteTestUtil {
// Set every field in the message to a default value.
static void SetMapFieldsInitialized(protobuf_unittest::TestMapLite* message);
- // Modify all the map fields of the messsage (which should already have been
+ // Modify all the map fields of the message (which should already have been
// initialized with SetMapFields()).
static void ModifyMapFields(protobuf_unittest::TestMapLite* message);
diff --git a/src/google/protobuf/map_test_util.h b/src/google/protobuf/map_test_util.h
index 107a639d..deaf0f4f 100644
--- a/src/google/protobuf/map_test_util.h
+++ b/src/google/protobuf/map_test_util.h
@@ -49,7 +49,7 @@ class MapTestUtil {
// Set every field in the message to a default value.
static void SetMapFieldsInitialized(unittest::TestMap* message);
- // Modify all the map fields of the messsage (which should already have been
+ // Modify all the map fields of the message (which should already have been
// initialized with SetMapFields()).
static void ModifyMapFields(unittest::TestMap* message);
diff --git a/src/google/protobuf/map_test_util_impl.h b/src/google/protobuf/map_test_util_impl.h
index 7e8757ed..b3ba4e06 100644
--- a/src/google/protobuf/map_test_util_impl.h
+++ b/src/google/protobuf/map_test_util_impl.h
@@ -64,7 +64,7 @@ class MapTestUtilImpl {
template <typename MapMessage>
static void SetMapFieldsInitialized(MapMessage* message);
- // Modify all the map fields of the messsage (which should already have been
+ // Modify all the map fields of the message (which should already have been
// initialized with SetMapFields()).
template <typename EnumType, EnumType enum_value, typename MapMessage>
static void ModifyMapFields(MapMessage* message);
diff --git a/src/google/protobuf/test_util.h b/src/google/protobuf/test_util.h
index d449c009..1c13a1a7 100644
--- a/src/google/protobuf/test_util.h
+++ b/src/google/protobuf/test_util.h
@@ -65,7 +65,7 @@ class TestUtil {
static void SetOneof2(unittest::TestOneof2* message);
// Use the repeated versions of the set_*() accessors to modify all the
- // repeated fields of the messsage (which should already have been
+ // repeated fields of the message (which should already have been
// initialized with Set*Fields()). Set*Fields() itself only tests
// the add_*() accessors.
static void ModifyRepeatedFields(unittest::TestAllTypes* message);
diff --git a/src/google/protobuf/test_util_lite.h b/src/google/protobuf/test_util_lite.h
index f250c937..47a2269d 100644
--- a/src/google/protobuf/test_util_lite.h
+++ b/src/google/protobuf/test_util_lite.h
@@ -52,7 +52,7 @@ class TestUtilLite {
static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message);
// Use the repeated versions of the set_*() accessors to modify all the
- // repeated fields of the messsage (which should already have been
+ // repeated fields of the message (which should already have been
// initialized with Set*Fields()). Set*Fields() itself only tests
// the add_*() accessors.
static void ModifyRepeatedFields(unittest::TestAllTypesLite* message);
diff --git a/src/google/protobuf/util/internal/protostream_objectsource.cc b/src/google/protobuf/util/internal/protostream_objectsource.cc
index aebf19a1..2bbb1597 100644
--- a/src/google/protobuf/util/internal/protostream_objectsource.cc
+++ b/src/google/protobuf/util/internal/protostream_objectsource.cc
@@ -806,7 +806,7 @@ Status ProtoStreamObjectSource::RenderField(
ow->RenderString(field_name, enum_value->name());
}
} else {
- GOOGLE_LOG(INFO) << "Unkown enum skipped: " << field->type_url();
+ GOOGLE_LOG(INFO) << "Unknown enum skipped: " << field->type_url();
}
break;
}