mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1747 - Refactor remove unused SqlTreeProperties readOnly
This commit is contained in:
@@ -461,8 +461,6 @@ public final class SqlTreeBuilder {
|
||||
private SqlTreeProperties getBaseSelectPartial(STreeType desc, OrmQueryProperties queryProps) {
|
||||
|
||||
SqlTreeProperties selectProps = new SqlTreeProperties();
|
||||
selectProps.setReadOnly(queryProps.isReadOnly());
|
||||
|
||||
// add properties in the order in which they appear
|
||||
// in the query. Gives predictable sql/properties for
|
||||
// use with SqlSelect type queries.
|
||||
|
||||
@@ -12,11 +12,6 @@ import java.util.List;
|
||||
*/
|
||||
public class SqlTreeProperties {
|
||||
|
||||
/**
|
||||
* True if this node of the tree should have read only entity beans.
|
||||
*/
|
||||
private boolean readOnly;
|
||||
|
||||
/**
|
||||
* The bean properties in order.
|
||||
*/
|
||||
@@ -68,10 +63,6 @@ public class SqlTreeProperties {
|
||||
return !allProperties;
|
||||
}
|
||||
|
||||
public void setReadOnly(boolean readOnly) {
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
void setAllProperties() {
|
||||
this.allProperties = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user