No effective change - code tidy, remove unused

This commit is contained in:
rbygrave
2015-05-13 22:51:28 +12:00
parent 8c12fc762c
commit c6632bbc25
12 changed files with 502 additions and 547 deletions
@@ -1,33 +1,31 @@
package com.avaje.ebeaninternal.server.query;
import java.util.List;
import com.avaje.ebean.bean.EntityBean;
import com.avaje.ebeaninternal.server.deploy.BeanDescriptor;
import com.avaje.ebeaninternal.server.deploy.BeanPropertyAssocMany;
import com.avaje.ebeaninternal.server.deploy.DbReadContext;
import com.avaje.ebeaninternal.server.deploy.DbSqlContext;
import com.avaje.ebeaninternal.server.deploy.TableJoin;
import java.util.List;
/**
* Represents the root node of the Sql Tree.
*/
public final class SqlTreeNodeRoot extends SqlTreeNodeBean {
private final TableJoin includeJoin;
/**
* Specify for SqlSelect to include an Id property or not.
*/
public SqlTreeNodeRoot(BeanDescriptor<?> desc, SqlTreeProperties props, List<SqlTreeNode> myList, boolean withId, TableJoin includeJoin, BeanPropertyAssocMany<?> many){
super(null, null, desc, props, myList, withId, many);
this.includeJoin = includeJoin;
}
private final TableJoin includeJoin;
public SqlTreeNodeRoot(BeanDescriptor<?> desc, SqlTreeProperties props, List<SqlTreeNode> myList, boolean withId) {
super(null, null, desc, props, myList, withId, null);
this.includeJoin = null;
}
/**
* Specify for SqlSelect to include an Id property or not.
*/
public SqlTreeNodeRoot(BeanDescriptor<?> desc, SqlTreeProperties props, List<SqlTreeNode> myList, boolean withId, TableJoin includeJoin, BeanPropertyAssocMany<?> many) {
super(null, null, desc, props, myList, withId, many);
this.includeJoin = includeJoin;
}
public SqlTreeNodeRoot(BeanDescriptor<?> desc, SqlTreeProperties props, List<SqlTreeNode> myList, boolean withId) {
super(null, null, desc, props, myList, withId, null);
this.includeJoin = null;
}
/**
* For the root node there is no join type or on clause etc.
@@ -46,5 +44,5 @@ public final class SqlTreeNodeRoot extends SqlTreeNodeBean {
return joinType;
}
}