No effective change - Code cleanup, simplified if

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:20:23 +12:00
1 parent 49b97887b0
commit 88340618af
2 files changed
+2 -2

No files matched your search

@@ -107,7 +107,7 @@ public class SqlTreeBuilder {
this.rawNoId = false;
this.desc = request.getBeanDescriptor();
this.query = request.getQuery();
this.disableLazyLoad = (query == null) ? false : query.isDisableLazyLoading();
this.disableLazyLoad = (query != null) && query.isDisableLazyLoading();
this.subQuery = Type.SUBQUERY.equals(query.getType()) || Type.ID_LIST.equals(query.getType());
this.includeJoin = query.getIncludeTableJoin();