Skip to content

Commit 7e1c345

Browse files
quaffmp911de
authored andcommitted
Fix code example showing Streamable usage.
Closes #2391
1 parent e6bebba commit 7e1c345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/repositories.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -647,10 +647,10 @@ class Product { <1>
647647
MonetaryAmount getPrice() { … }
648648
}
649649
650-
@RequiredArgConstructor(staticName = "of")
650+
@RequiredArgsConstructor(staticName = "of")
651651
class Products implements Streamable<Product> { <2>
652652
653-
private Streamable<Product> streamable;
653+
private final Streamable<Product> streamable;
654654
655655
public MonetaryAmount getTotal() { <3>
656656
return streamable.stream()

0 commit comments

Comments
 (0)