#1388 - AutoTune - tuned query includes "null" as fetched property

This commit is contained in:
rob bygrave
2018-05-27 17:33:26 +12:00
parent 2e36402a76
commit bbd7baf1be
3 changed files with 6 additions and 6 deletions
@@ -89,8 +89,7 @@ public class PathProperties implements FetchPath {
}
Props getProps(String path) {
Props props = pathMap.computeIfAbsent(path, p -> new Props(this, null, p));
return props;
return pathMap.computeIfAbsent(path, p -> new Props(this, null, p));
}
public Collection<Props> getPathProps() {
@@ -157,7 +157,7 @@ public class BeanPropertyAssocMany<T> extends BeanPropertyAssoc<T> implements ST
if (elementCollection) {
targetDescriptor = elementDescriptor;
} else {
targetDescriptor = descriptor.getBeanDescriptor(targetType);
super.initialiseTargetDescriptor(initContext);
}
}