Skip to content

Commit 55afe84

Browse files
hosamalymp911de
authored andcommitted
Fix typo in query-methods-details.adoc.
Fix a typo: Priced => Product Closes #3172
1 parent 15aa855 commit 55afe84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class Products implements Streamable<Product> { <2>
198198
199199
public MonetaryAmount getTotal() { <3>
200200
return streamable.stream()
201-
.map(Priced::getPrice)
201+
.map(Product::getPrice)
202202
.reduce(Money.of(0), MonetaryAmount::add);
203203
}
204204

0 commit comments

Comments
 (0)