Status: New
Owner: liuj...@google.com
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to