diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-03-10 14:53:15 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-03-10 14:53:15 -0800 |
commit | 81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e (patch) | |
tree | fab17d29dd4dd51f70ad80dcf11a60c4fb82ca20 /src/google | |
parent | a1bb147e96b6f74db6cdf3c3fcb00492472dbbfa (diff) | |
download | protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.tar.gz protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.tar.bz2 protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.zip |
Fix java code according to error prone.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/compiler/java/java_message_lite.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/java/java_message_lite.cc b/src/google/protobuf/compiler/java/java_message_lite.cc index 45834f2a..e84321bb 100644 --- a/src/google/protobuf/compiler/java/java_message_lite.cc +++ b/src/google/protobuf/compiler/java/java_message_lite.cc @@ -345,7 +345,7 @@ void ImmutableMessageLiteGenerator::Generate(io::Printer* printer) { } printer->Print( - "@java.lang.SuppressWarnings(\"unchecked\")\n" + "@java.lang.SuppressWarnings({\"unchecked\", \"fallthrough\"})\n" "protected final Object dynamicMethod(\n" " com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,\n" " Object arg0, Object arg1) {\n" |