mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup, simplified if
This commit is contained in:
1 parent
88340618af
commit
adef15ce2b
14 files changed
+19
-79
No files matched your search
@@ -357,10 +357,7 @@ public class OrmQueryDetail implements Serializable {
|
||||
* Return true if this is actually the root level of a +query/+lazy loading query.
|
||||
*/
|
||||
private boolean isLazyLoadManyRoot(String lazyLoadManyPath, OrmQueryProperties chunk) {
|
||||
if (lazyLoadManyPath != null && lazyLoadManyPath.equals(chunk.getPath())) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return lazyLoadManyPath != null && lazyLoadManyPath.equals(chunk.getPath());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -184,15 +184,6 @@ public class OrmQueryDetailParser {
|
||||
}
|
||||
|
||||
private boolean isFindFetchEnd() {
|
||||
if (isFetch()) {
|
||||
return true;
|
||||
}
|
||||
if (parser.isMatch("where")) {
|
||||
return true;
|
||||
}
|
||||
if (parser.isMatch("order", "by")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return isFetch() || parser.isMatch("where") || parser.isMatch("order", "by");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user