Using valueOf for base types in getFieldValue
---------------------------------------------

                 Key: THRIFT-997
                 URL: https://issues.apache.org/jira/browse/THRIFT-997
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Compiler
            Reporter: Takashi Yonebayashi
            Priority: Minor


When returning a base type in getFieldValue, the constructor for the base type 
is called.  This causes unnecessary object creation and doesn't take advantage 
of caching.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to