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

ASF subversion and git services commented on KNOX-1664:
-------------------------------------------------------

Commit f54e9d2d47ee5927ab102986a1d240049828ecc9 in knox's branch 
refs/heads/master from [~risdenk]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=f54e9d2 ]

KNOX-1664 - Miscellaneous code cleanup

* Unnecessary boxing/unboxing
* Collection.toArray()
* String concatenation in loop
* StringBuffer -> StringBuilder where possible
* Identical catch block collapse
* Inline redundant variable
* Collections methods (addAll, isEmpty)
* Use isEmpty where applicable
* Remove redundant initializer

Signed-off-by: Kevin Risden <[email protected]>


> Miscellaneous code cleanup
> --------------------------
>
>                 Key: KNOX-1664
>                 URL: https://issues.apache.org/jira/browse/KNOX-1664
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Minor
>             Fix For: 1.3.0
>
>         Attachments: KNOX-1664.patch
>
>
> * Unnecessary boxing/unboxing
> * Collection.toArray()
> * String concatenation in loop
> * StringBuffer -> StringBuilder where possible
> * Identical catch block collapse
> * Inline redundant variable
> * Collections methods (addAll, isEmpty)
> * Use isEmpty where applicable
> * Remove redundant initializer



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

Reply via email to