You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Suresh Marru (JIRA)" <ji...@apache.org> on 2015/03/18 06:52:38 UTC
[jira] [Created] (THRIFT-3045) Multiple SuppressWarnings in
Generated Java Code
Suresh Marru created THRIFT-3045:
------------------------------------
Summary: Multiple SuppressWarnings in Generated Java Code
Key: THRIFT-3045
URL: https://issues.apache.org/jira/browse/THRIFT-3045
Project: Thrift
Issue Type: Bug
Components: Java - Compiler
Affects Versions: 0.9.2
Environment: Thrift 0.9.2 on Mac OS X Yosemite - Home Brew installed version
Reporter: Suresh Marru
Java generated code is adding two suppress warnings as follows:
{code:java}
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-3-18")
@SuppressWarnings("all")
{code}
The java_suppressions() seems to be added in 0.9.2 which is right. But there is a default SuppressWarnings("all") getting added. One of it needs to be turned off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)