Commit 8eebad10 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #924 from bbarenblat/master

Correct spelling
parents 46f8a798 a2ce9cb9
...@@ -1356,7 +1356,7 @@ void ImmutableMessageGenerator::GenerateAnyMethods(io::Printer* printer) { ...@@ -1356,7 +1356,7 @@ void ImmutableMessageGenerator::GenerateAnyMethods(io::Printer* printer) {
" throws com.google.protobuf.InvalidProtocolBufferException {\n" " throws com.google.protobuf.InvalidProtocolBufferException {\n"
" if (!is(clazz)) {\n" " if (!is(clazz)) {\n"
" throw new com.google.protobuf.InvalidProtocolBufferException(\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" " }\n"
" if (cachedUnpackValue != null) {\n" " if (cachedUnpackValue != null) {\n"
" return (T) cachedUnpackValue;\n" " return (T) cachedUnpackValue;\n"
......
...@@ -47,7 +47,7 @@ class MapLiteTestUtil { ...@@ -47,7 +47,7 @@ class MapLiteTestUtil {
// Set every field in the message to a default value. // Set every field in the message to a default value.
static void SetMapFieldsInitialized(protobuf_unittest::TestMapLite* message); 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()). // initialized with SetMapFields()).
static void ModifyMapFields(protobuf_unittest::TestMapLite* message); static void ModifyMapFields(protobuf_unittest::TestMapLite* message);
......
...@@ -49,7 +49,7 @@ class MapTestUtil { ...@@ -49,7 +49,7 @@ class MapTestUtil {
// Set every field in the message to a default value. // Set every field in the message to a default value.
static void SetMapFieldsInitialized(unittest::TestMap* message); 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()). // initialized with SetMapFields()).
static void ModifyMapFields(unittest::TestMap* message); static void ModifyMapFields(unittest::TestMap* message);
......
...@@ -64,7 +64,7 @@ class MapTestUtilImpl { ...@@ -64,7 +64,7 @@ class MapTestUtilImpl {
template <typename MapMessage> template <typename MapMessage>
static void SetMapFieldsInitialized(MapMessage* message); 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()). // initialized with SetMapFields()).
template <typename EnumType, EnumType enum_value, typename MapMessage> template <typename EnumType, EnumType enum_value, typename MapMessage>
static void ModifyMapFields(MapMessage* message); static void ModifyMapFields(MapMessage* message);
......
...@@ -65,7 +65,7 @@ class TestUtil { ...@@ -65,7 +65,7 @@ class TestUtil {
static void SetOneof2(unittest::TestOneof2* message); static void SetOneof2(unittest::TestOneof2* message);
// Use the repeated versions of the set_*() accessors to modify all the // 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 // initialized with Set*Fields()). Set*Fields() itself only tests
// the add_*() accessors. // the add_*() accessors.
static void ModifyRepeatedFields(unittest::TestAllTypes* message); static void ModifyRepeatedFields(unittest::TestAllTypes* message);
......
...@@ -52,7 +52,7 @@ class TestUtilLite { ...@@ -52,7 +52,7 @@ class TestUtilLite {
static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message); static void SetPackedExtensions(unittest::TestPackedExtensionsLite* message);
// Use the repeated versions of the set_*() accessors to modify all the // 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 // initialized with Set*Fields()). Set*Fields() itself only tests
// the add_*() accessors. // the add_*() accessors.
static void ModifyRepeatedFields(unittest::TestAllTypesLite* message); static void ModifyRepeatedFields(unittest::TestAllTypesLite* message);
......
...@@ -806,7 +806,7 @@ Status ProtoStreamObjectSource::RenderField( ...@@ -806,7 +806,7 @@ Status ProtoStreamObjectSource::RenderField(
ow->RenderString(field_name, enum_value->name()); ow->RenderString(field_name, enum_value->name());
} }
} else { } else {
GOOGLE_LOG(INFO) << "Unkown enum skipped: " << field->type_url(); GOOGLE_LOG(INFO) << "Unknown enum skipped: " << field->type_url();
} }
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment