No effective change - Code cleanup, remove unnecessary return

This commit is contained in:
Robin Bygrave
2015-07-31 13:25:54 +12:00
parent adef15ce2b
commit 4a13fc307b
3 changed files with 11 additions and 18 deletions
@@ -308,10 +308,7 @@ public class SqlTreeBuilder {
IncludesDistiller extraJoinDistill = new IncludesDistiller(desc, selectIncludes, predicateIncludes);
Collection<SqlTreeNodeExtraJoin> extraJoins = extraJoinDistill.getExtraJoinRootNodes();
if (extraJoins.isEmpty()) {
return;
} else {
if (!extraJoins.isEmpty()) {
// add extra joins required to support predicates
// and/or order by clause
for (SqlTreeNodeExtraJoin extraJoin: extraJoins) {