[ 
https://issues.apache.org/jira/browse/TAJO-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936341#comment-14936341
 ] 

ASF GitHub Bot commented on TAJO-1899:
--------------------------------------

GitHub user dkhwangbo opened a pull request:

    https://github.com/apache/tajo/pull/794

    TAJO-1899: Calling 'Arrays.asList()' with too few arguments cause memory 
extravagance

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dkhwangbo/tajo TAJO-1899

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/794.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #794
    
----
commit 268c6cade0bb1b864ddea9a7f13bc2561040acaa
Author: Dongkyu Hwangbo <[email protected]>
Date:   2015-09-30T03:52:49Z

    initial commit

commit 5262eba22751741a617fe55aaa461ab720de80d8
Author: Dongkyu Hwangbo <[email protected]>
Date:   2015-09-30T03:57:47Z

    modify import

commit 6e27a7bb7e849909ae0a889e5bfaf33cba0896e3
Author: Dongkyu Hwangbo <[email protected]>
Date:   2015-09-30T03:59:49Z

    rollback unnecessarily difference

commit adf6eb1b06bd214db4f5ce707402e79c77ffa03a
Author: Dongkyu Hwangbo <[email protected]>
Date:   2015-09-30T04:01:32Z

    rollback unnecessarily difference

----


> 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
>            Assignee: Dongkyu Hwangbo
>            Priority: Trivial
>              Labels: newbie
>
> 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