Dongkyu Hwangbo created TAJO-1899:
-------------------------------------

             Summary: Calling 'Arrays.asList()' with too few arguments cause 
memory extravagance
                 Key: TAJO-1899
                 URL: https://issues.apache.org/jira/browse/TAJO-1899
             Project: Tajo
          Issue Type: Improvement
            Reporter: Dongkyu Hwangbo
            Priority: Trivial


Reports any calls to Arrays.asList() with zero arguments or only one argument. 
Such calls could be replaced with either a call to Collections.singletonList() 
or Collections.emptyList() which will save some memory.



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

Reply via email to