From a2ce9cb9ea0a1ed75db5784fa2d2ba0e51c49d83 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 30 Oct 2015 14:05:24 -0400 Subject: Correct spelling --- src/google/protobuf/compiler/java/java_message.cc | 2 +- src/google/protobuf/map_lite_test_util.h | 2 +- src/google/protobuf/map_test_util.h | 2 +- src/google/protobuf/map_test_util_impl.h | 2 +- src/google/protobuf/test_util.h | 2 +- src/google/protobuf/test_util_lite.h | 2 +- src/google/protobuf/util/internal/protostream_objectsource.cc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/google') 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 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 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; } -- cgit v1.2.3