mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#566 - Refactor internals -OrmQueryDetailProperties - remove hasProperties()
This commit is contained in:
1 parent
3d3948aa8b
commit
439858b259
3 files changed
+25
-7
No files matched your search
@@ -444,7 +444,7 @@ public class OrmQueryDetail implements Serializable {
|
||||
* Return true if the query detail has neither select properties specified or any joins defined.
|
||||
*/
|
||||
public boolean isEmpty() {
|
||||
return fetchPaths.isEmpty() && (!baseProps.hasProperties());
|
||||
return fetchPaths.isEmpty() && baseProps.allProperties();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user