Refactor plugin.BeanType addInheritanceWhere() to just take Query and not SpiQuery

This commit is contained in:
rob bygrave committed 2017-10-05 00:35:12 +13:00
1 parent 7524903aea
commit bf3f8ecff5
3 files changed
+5 -5

No files matched your search

@@ -2379,7 +2379,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
}
@Override
public void addInheritanceWhere(SpiQuery<?> query) {
public void addInheritanceWhere(Query<?> query) {
if (inheritInfo != null && !inheritInfo.isRoot()) {
query.where().eq(inheritInfo.getDiscriminatorColumn(), inheritInfo.getDiscriminatorValue());
}