Hello, I am new to this forum and hope I'm posting properly Do you know whether 2.6.0 will address the issue of Java 8 javadoc warnings for GPB 2.5.0 generated code? Specifically, when running Java 8 javadoc I now see lots of 'no @return" or 'no @param' warnings on code generated from my .proto file. Best regards, Chris Berst Software Engineer Daniel K. Inouye Solar Telescope
On Wednesday, April 17, 2013 12:26:15 PM UTC-6, prot...@googlecode.com wrote: > > Status: New > Owner: liu...@google.com <javascript:> > Labels: Type-Defect Priority-Medium > > New issue 502 by jonathan...@hotmail.com: protoc generated Java code has > > numerous javadoc warnings > http://code.google.com/p/protobuf/issues/detail?id=502 > > What steps will reproduce the problem? > 1. Enable javadoc warnings for project > 2. Use protoc to generate java code and add to project > 3. Note the numerous warnings > > What is the expected output? What do you see instead? > Should not be any java doc warnings > > What version of the product are you using? On what operating system? > 2.5.0 > > Please provide any additional information below. > Trivial fix. Just add this line of code code. > > printer->Print("@SuppressWarnings(\"javadoc\")\n\n"); > > to java_file.cc, line 196 just before this: > > printer->Print( > "public final class $classname$ {\n" > " private $classname$() {}\n", > "classname", classname_); > printer->Indent(); > > Attachments: > java_file.cc 18.1 KB > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.