[
https://issues.apache.org/jira/browse/THRIFT-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Marru closed THRIFT-3045.
--------------------------------
Resolution: Invalid
Sorry this was an invalid issue. We had the supresswarnings all inserted by the
script which was adding ASF license headers. Please ignore this issue.
> 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)