diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc index 72eb51c260..40c9e9b53f 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc @@ -198,7 +198,7 @@ class Products implements Streamable { <2> public MonetaryAmount getTotal() { <3> return streamable.stream() - .map(Priced::getPrice) + .map(Product::getPrice) .reduce(Money.of(0), MonetaryAmount::add); }