BELUGA BEHR created THRIFT-4725:
-----------------------------------

             Summary: Change Return Type Signature of Process Methods
                 Key: THRIFT-4725
                 URL: https://issues.apache.org/jira/browse/THRIFT-4725
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
    Affects Versions: 0.11.0
            Reporter: BELUGA BEHR
             Fix For: 1.0


The method signature of {{TProcessor}} and {{TAsyncProcessor}} is:

 

{code:java}
public boolean process(...) throws TException;
{code}

It's not clear what the return value here because there is no documentation, 
but parts of the code do not even bother checking the return value.  If there 
is a problem, code should throw an Exception.  Make this a void method.

Note: This the method signature in other languages is also a boolean.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to