#566 - Refactor internals -OrmQueryDetailProperties - remove hasProperties()

This commit is contained in:
Robin Bygrave committed 2016-02-17 16:53:32 +13:00
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();
}
/**