Issue 239 in protobuf-dt: Jsava code has numerous javadoc warnings

5 views
Skip to first unread message

proto...@googlecode.com

unread,
Apr 16, 2013, 5:05:11 PM4/16/13
to proto...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 239 by jonathan...@hotmail.com: Jsava code has numerous javadoc
warnings
http://code.google.com/p/protobuf-dt/issues/detail?id=239

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();

--
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

proto...@googlecode.com

unread,
Apr 16, 2013, 7:14:55 PM4/16/13
to proto...@googlegroups.com

Comment #1 on issue 239 by compuwar...@gmail.com: Jsava code has numerous
javadoc warnings
http://code.google.com/p/protobuf-dt/issues/detail?id=239

The protobuf-dt project only provides development tools for protocol
buffers. The software component that generates code is called protoc, or
the protocol buffers compiler, and is managed in the protobuf project.

https://code.google.com/p/protobuf/

I suggest you submit an issue to the protobuf project issue tracker (or
search to see if an existing one covers the warnings you see) with
information about what warnings you are seeing and an example .proto file
that causes the warnings when compiled to java.

I would also recommend making sure you are using the version of protoc that
you expect. The only java warnings issue I have been aware of is
https://code.google.com/p/protobuf/issues/detail?id=366 and was reported
fixed in 2.5.0

proto...@googlecode.com

unread,
Apr 16, 2013, 7:16:56 PM4/16/13
to proto...@googlegroups.com

Comment #2 on issue 239 by compuwar...@gmail.com: Jsava code has numerous
javadoc warnings
http://code.google.com/p/protobuf-dt/issues/detail?id=239

The protobuf-dt project only provides development tools for protocol
buffers. The software component that generates code is called protoc, or
the protocol buffers compiler, and is managed in the protobuf project.

https://code.google.com/p/protobuf/

I suggest you submit an issue to the protobuf project issue tracker (or
search to see if an existing one covers the warnings you see) with
information about what warnings you are seeing and an example .proto file
that causes the warnings when compiled to java.

proto...@googlecode.com

unread,
Apr 17, 2013, 2:23:03 PM4/17/13
to proto...@googlegroups.com

Comment #3 on issue 239 by jonathan...@hotmail.com: Jsava code has numerous
javadoc warnings
http://code.google.com/p/protobuf-dt/issues/detail?id=239

I know the difference between these two projects. This was a total screw
up on my part. Many apologies.
Reply all
Reply to author
Forward
0 new messages