Colm O hEigeartaigh created KNOX-1020:
-----------------------------------------
Summary: 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
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)