From 3b53f0e2e7d77f565c09e8c1db1ac392659e91cb Mon Sep 17 00:00:00 2001 From: Hosam Aly Date: Mon, 7 Oct 2024 19:28:12 +0100 Subject: [PATCH] Fix typo in query-methods-details.adoc. Fix a typo: Priced => Product Closes #3172 --- .../modules/ROOT/pages/repositories/query-methods-details.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e468ee992..ade2ac3e9 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 @@ -171,7 +171,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); }