Browse Source

Fix typo in query-methods-details.adoc.

Fix a typo: Priced => Product

Closes #3172
3.2.x
Hosam Aly 1 year ago committed by Mark Paluch
parent
commit
3b53f0e2e7
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc

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

@ -171,7 +171,7 @@ class Products implements Streamable<Product> { <2> @@ -171,7 +171,7 @@ class Products implements Streamable<Product> { <2>
public MonetaryAmount getTotal() { <3>
return streamable.stream()
.map(Priced::getPrice)
.map(Product::getPrice)
.reduce(Money.of(0), MonetaryAmount::add);
}

Loading…
Cancel
Save