[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2014-10-09 Thread protobuf

Updates:
Status: Duplicate
Owner: xiaof...@google.com

Comment #6 on issue 323 by xiaof...@google.com: Add SupprrssWarnings to  
generated Java code

https://code.google.com/p/protobuf/issues/detail?id=323

Using the annotation "javax.annotation.Generated" seems to be the right  
approach. There is a duplicate issue on github:

https://github.com/google/protobuf/issues/42

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


[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2013-12-19 Thread protobuf


Comment #5 on issue 323 by mellowaredev: Add SupprrssWarnings to generated  
Java code

http://code.google.com/p/protobuf/issues/detail?id=323

Preferable something like this...

import javax.annotation.Generated;

@Generated(value="protoc", date="2013-12-19T12:33:56+00:00",  
comments="Generated by the Google Protocol Buffer compiler.")

@SuppressWarnings({"PMD", "all"})

--
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/groups/opt_out.


[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2013-10-17 Thread protobuf


Comment #4 on issue 323 by mellowaredev: Add SupprrssWarnings to generated  
Java code

http://code.google.com/p/protobuf/issues/detail?id=323

This would be huge.  I will end up having to write some post processor to  
add this to the code and I would prefer not to.


--
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/groups/opt_out.


[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2013-08-07 Thread protobuf


Comment #3 on issue 323 by geilife...@gmail.com: Add SupprrssWarnings to  
generated Java code

http://code.google.com/p/protobuf/issues/detail?id=323

how to add @SuppressWarnings(value="all") to java file, auto.

--
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/groups/opt_out.


[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2012-11-22 Thread protobuf


Comment #2 on issue 323 by kalita.d...@gmail.com: Add SupprrssWarnings to  
generated Java code

http://code.google.com/p/protobuf/issues/detail?id=323

Or maybe if we can marked as generated
like adding some marker annotation
@javax.annotation.Generated (but this is only valid from 1.6+)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 323 in protobuf: Add SupprrssWarnings to generated Java code

2011-12-28 Thread protobuf


Comment #1 on issue 323 by jer...@gustie.com: Add SupprrssWarnings to  
generated Java code

http://code.google.com/p/protobuf/issues/detail?id=323

For Java 6+ targeted code, an @javax.annotation.Generated annotation should  
also be added with the date and an identifier (e.g. "com.google.protobuf")  
to help static analysis tools identify the generated code.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.