mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1747 - Refactor io.ebeaninternal.server.query invert boolean methods
This commit is contained in:
@@ -37,7 +37,7 @@ class SqlTree {
|
||||
*/
|
||||
private final String inheritanceWhereSql;
|
||||
|
||||
private final boolean includeJoins;
|
||||
private final boolean noJoins;
|
||||
|
||||
/**
|
||||
* Create the SqlSelectClause.
|
||||
@@ -53,7 +53,7 @@ class SqlTree {
|
||||
this.inheritanceWhereSql = inheritanceWhereSql;
|
||||
this.encryptedProps = encryptedProps;
|
||||
this.manyProperty = manyProperty;
|
||||
this.includeJoins = includeJoins;
|
||||
this.noJoins = !includeJoins;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -66,8 +66,8 @@ class SqlTree {
|
||||
/**
|
||||
* Return true if the query includes joins (not valid for rawSql).
|
||||
*/
|
||||
boolean isIncludeJoins() {
|
||||
return includeJoins;
|
||||
boolean noJoins() {
|
||||
return noJoins;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user