mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - tidy
This commit is contained in:
@@ -362,11 +362,7 @@ public class OrmQueryProperties implements Serializable {
|
||||
* </p>
|
||||
*/
|
||||
public boolean isIncludedBeanJoin(String propertyName) {
|
||||
if (includedBeanJoin == null) {
|
||||
return false;
|
||||
} else {
|
||||
return includedBeanJoin.contains(propertyName);
|
||||
}
|
||||
return includedBeanJoin != null && includedBeanJoin.contains(propertyName);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -440,11 +436,8 @@ public class OrmQueryProperties implements Serializable {
|
||||
if (includedBeanJoin != null && includedBeanJoin.contains(propName)) {
|
||||
return false;
|
||||
}
|
||||
if (included == null) {
|
||||
// all properties included
|
||||
return true;
|
||||
}
|
||||
return included.contains(propName);
|
||||
// all properties included
|
||||
return included == null || included.contains(propName);
|
||||
}
|
||||
|
||||
public OrmQueryProperties setQueryFetch(int batch, boolean queryFetchAll) {
|
||||
|
||||
Reference in New Issue
Block a user