#2784 - Correct documentation for TQRootBean.findSingleAttribute with @Nullable

This commit is contained in:
Rob Bygrave
2022-08-12 15:50:17 +12:00
parent 4cc012b974
commit d703709f14
2 changed files with 4 additions and 2 deletions
@@ -1767,7 +1767,7 @@ public abstract class TQRootBean<T, R> {
}
/**
* Execute the query returning a single value for a single property.
* Execute the query returning a single value or null for a single property.
* <p>
* <h3>Example</h3>
* <pre>{@code
@@ -1781,6 +1781,7 @@ public abstract class TQRootBean<T, R> {
*
* @return the list of values for the selected property
*/
@Nullable
public <A> A findSingleAttribute() {
return query.findSingleAttribute();
}