[ https://issues.apache.org/jira/browse/KNOX-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158774#comment-16158774 ]
ASF subversion and git services commented on KNOX-1020: ------------------------------------------------------- Commit 6135abd3997fb5eaa08b83dec0158f67d1a13ae9 in knox's branch refs/heads/KNOX-998-Package_Restructuring from [~coheigea] [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=6135abd ] KNOX-1020 - Minor code improvements > Minor code improvements > ----------------------- > > Key: KNOX-1020 > URL: https://issues.apache.org/jira/browse/KNOX-1020 > Project: Apache Knox > Issue Type: Improvement > Reporter: Colm O hEigeartaigh > Assignee: Colm O hEigeartaigh > Priority: Minor > Fix For: 0.14.0 > > > This task encapsulates some minor code improvements, mainly relating to the > tests: > - Use !collection.isEmpty() instead collections.size() > 0 > - Use "literal".equals(string) instead of string.equals("literal") > - Remove all boolean == true and == false > - Remove Vector and HashTable in a few places (test code only) where it is > not required. > - Replace new Integer with Integer.valueOf(). -- This message was sent by Atlassian JIRA (v6.4.14#64029)