Re: How to suppress javadoc warnings

458 views
Skip to first unread message

Jonathannah

unread,
Apr 16, 2013, 10:07:35 AM4/16/13
to prot...@googlegroups.com
Easy fix.  Put this line in FileGenerator::Generate, (java_file.cc) just after printing the package. 

  printer->Print("\n@SuppressWarnings(\"javadoc\")\n\n");


On Sunday, April 14, 2013 7:48:13 AM UTC-7, David R wrote:

The java code generated by protoc has numerous javadoc warnings.  If '@SuppressWarnings("javadoc")' is added to the file at global scope, the issue is resolved.  Is it possible to get protoc to generate this line of code?
Reply all
Reply to author
Forward
0 new messages