Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
8eebad10
Commit
8eebad10
authored
Oct 31, 2015
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #924 from bbarenblat/master
Correct spelling
parents
46f8a798
a2ce9cb9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
java_message.cc
src/google/protobuf/compiler/java/java_message.cc
+1
-1
map_lite_test_util.h
src/google/protobuf/map_lite_test_util.h
+1
-1
map_test_util.h
src/google/protobuf/map_test_util.h
+1
-1
map_test_util_impl.h
src/google/protobuf/map_test_util_impl.h
+1
-1
test_util.h
src/google/protobuf/test_util.h
+1
-1
test_util_lite.h
src/google/protobuf/test_util_lite.h
+1
-1
protostream_objectsource.cc
...google/protobuf/util/internal/protostream_objectsource.cc
+1
-1
No files found.
src/google/protobuf/compiler/java/java_message.cc
View file @
8eebad10
...
...
@@ -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 mess
s
age 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
"
...
...
src/google/protobuf/map_lite_test_util.h
View file @
8eebad10
...
...
@@ -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 mess
s
age (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
);
...
...
src/google/protobuf/map_test_util.h
View file @
8eebad10
...
...
@@ -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 mess
s
age (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
);
...
...
src/google/protobuf/map_test_util_impl.h
View file @
8eebad10
...
...
@@ -64,7 +64,7 @@ class MapTestUtilImpl {
template
<
typename
MapMessage
>
static
void
SetMapFieldsInitialized
(
MapMessage
*
message
);
// Modify all the map fields of the mess
s
age (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
);
...
...
src/google/protobuf/test_util.h
View file @
8eebad10
...
...
@@ -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 mess
s
age (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
);
...
...
src/google/protobuf/test_util_lite.h
View file @
8eebad10
...
...
@@ -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 mess
s
age (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
);
...
...
src/google/protobuf/util/internal/protostream_objectsource.cc
View file @
8eebad10
...
...
@@ -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
)
<<
"Unk
n
own enum skipped: "
<<
field
->
type_url
();
}
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment