No effective change - SqlTreeBuilder , remove unnecessary null check

This commit is contained in:
Robin Bygrave committed 2015-08-01 08:51:40 +12:00
1 parent 1dc8a7f314
commit f50b18556e
1 file changed
+1 -2
@@ -105,8 +105,7 @@ public class SqlTreeBuilder {
this.rawNoId = false;
this.desc = request.getBeanDescriptor();
this.query = request.getQuery();
this.disableLazyLoad = (query != null) && query.isDisableLazyLoading();
this.disableLazyLoad = query.isDisableLazyLoading();
this.subQuery = Type.SUBQUERY.equals(query.getType()) || Type.ID_LIST.equals(query.getType());
this.includeJoin = query.getIncludeTableJoin();
this.manyWhereJoins = query.getManyWhereJoins();