Internal refactor / tidy - Suggestions from intellij code analysis. (#1209)

This commit is contained in:
Koen De Groote
2017-11-14 18:19:38 +13:00
committed by Rob Bygrave
parent 0056568bc7
commit f1ebe7929b
29 changed files with 66 additions and 59 deletions
@@ -39,10 +39,10 @@ public class BeanCollectionHelpFactory {
SpiQuery.Type manyType = request.getQuery().getType();
if (manyType.equals(SpiQuery.Type.LIST)) {
if (manyType == SpiQuery.Type.LIST) {
return LIST_HELP;
} else if (manyType.equals(SpiQuery.Type.SET)) {
} else if (manyType == SpiQuery.Type.SET) {
return SET_HELP;
} else {