[ https://issues.apache.org/jira/browse/THRIFT-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366968#comment-14366968 ]
Roger Meier commented on THRIFT-3045: ------------------------------------- patches to improve the generated code and the Java library code are always welcome > 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)