diff options
author | Otto Kekäläinen <otto@seravo.fi> | 2016-07-03 15:26:04 +0300 |
---|---|---|
committer | Otto Kekäläinen <otto@seravo.fi> | 2016-07-03 15:26:04 +0300 |
commit | 3808d091f86e079c8f3437f5cd66bd2c507cef8a (patch) | |
tree | 83e72f0b4fb9548251fdb0af74003e1523251226 /src/google/protobuf/compiler/java | |
parent | cae3b0cbb689d0ed1e5da73942a5a9705f3411b0 (diff) |
Fix spelling in strings and comments
Diffstat (limited to 'src/google/protobuf/compiler/java')
-rw-r--r-- | src/google/protobuf/compiler/java/java_helpers.h | 2 | ||||
-rw-r--r-- | src/google/protobuf/compiler/java/java_string_field.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/java/java_helpers.h b/src/google/protobuf/compiler/java/java_helpers.h index 5316d2f9..829ec3d7 100644 --- a/src/google/protobuf/compiler/java/java_helpers.h +++ b/src/google/protobuf/compiler/java/java_helpers.h @@ -243,7 +243,7 @@ inline bool HasGenericServices(const FileDescriptor *file, bool enforce_lite) { } inline bool IsLazy(const FieldDescriptor* descriptor, bool enforce_lite) { - // Currently, the proto-lite version suports lazy field. + // Currently, the proto-lite version supports lazy field. // TODO(niwasaki): Support lazy fields also for other proto runtimes. if (HasDescriptorMethods(descriptor->file(), enforce_lite)) { return false; diff --git a/src/google/protobuf/compiler/java/java_string_field.cc b/src/google/protobuf/compiler/java/java_string_field.cc index b74c7447..e1e5496a 100644 --- a/src/google/protobuf/compiler/java/java_string_field.cc +++ b/src/google/protobuf/compiler/java/java_string_field.cc @@ -715,7 +715,7 @@ GenerateInterfaceMembers(io::Printer* printer) const { // NOTE: the same method in the implementation class actually returns // com.google.protobuf.ProtocolStringList (a subclass of List). It's // changed between protobuf 2.5.0 release and protobuf 2.6.1 release. - // To retain binary compatibilty with both 2.5.0 and 2.6.1 generated + // To retain binary compatibility with both 2.5.0 and 2.6.1 generated // code, we make this interface method return List so both methods // with different return types exist in the compiled byte code. "$deprecation$java.util.List<java.lang.String>\n" |