Skip to content

Commit 3b53f0e

Browse files
hosamalymp911de
authored andcommitted
Fix typo in query-methods-details.adoc.
Fix a typo: Priced => Product Closes #3172
1 parent deb17c4 commit 3b53f0e

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class Products implements Streamable<Product> { <2>
171171
172172
public MonetaryAmount getTotal() { <3>
173173
return streamable.stream()
174-
.map(Priced::getPrice)
174+
.map(Product::getPrice)
175175
.reduce(Money.of(0), MonetaryAmount::add);
176176
}
177177

0 commit comments

Comments
 (0)