Jackey Lyu created THRIFT-3287:
----------------------------------

             Summary: dead store in generated AsyncMethodCallback.onError
                 Key: THRIFT-3287
                 URL: https://issues.apache.org/jira/browse/THRIFT-3287
             Project: Thrift
          Issue Type: Bug
          Components: Java - Compiler
    Affects Versions: 0.9.2
         Environment: CentOS
            Reporter: Jackey Lyu


For the official `tutorial.thrift`, the generated Java code includes a bug 
reported by the findBugs plugin in eclipse.

That is something like Calculator.java:475 Dead store to result in 
tutorial.Calculator.....onError(Exception) [Of Concern(15), High confidence]

in line 475, `ping_result result = new ping_result()' is a useless coed, as the 
`result` is never be used.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to