File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed
java/com/greglturnquist/learningspringboot
java/com/greglturnquist/learningspringboot
java/com/greglturnquist/learningspringboot Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ public Mono<String> index(Model model) {
7070.findAllImages ()
7171.flatMap (image ->
7272Mono .just (image )
73- .and (repository .findByImageId (image .getId ()).collectList ()))
73+ .and (repository .findByImageId (
74+ image .getId ()).collectList ()))
7475.map (imageAndComments -> new HashMap <String , Object >(){{
7576put ("id" , imageAndComments .getT1 ().getId ());
7677put ("name" , imageAndComments .getT1 ().getName ());
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ <h1>Learning Spring Boot - 2nd Edition</h1>
2929 <!-- tag::comments[] -->
3030 < td >
3131 < ul >
32- < li th:each ="comment : ${image.comments} " th:text ="${comment.comment} "> </ li >
32+ < li th:each ="comment : ${image.comments} "
33+ th:text ="${comment.comment} "> </ li >
3334 </ ul >
3435 </ td >
3536 < td >
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ public Mono<String> index(Model model) {
6363.findAllImages ()
6464.flatMap (image ->
6565Mono .just (image )
66- .and (repository .findByImageId (image .getId ()).collectList ()))
66+ .and (repository .findByImageId (
67+ image .getId ()).collectList ()))
6768.map (imageAndComments -> new HashMap <String , Object >(){{
6869put ("id" , imageAndComments .getT1 ().getId ());
6970put ("name" , imageAndComments .getT1 ().getName ());
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ <h1>Learning Spring Boot - 2nd Edition</h1>
2929 <!-- tag::comments[] -->
3030 < td >
3131 < ul >
32- < li th:each ="comment : ${image.comments} " th:text ="${comment.comment} "> </ li >
32+ < li th:each ="comment : ${image.comments} "
33+ th:text ="${comment.comment} "> </ li >
3334 </ ul >
3435 </ td >
3536 < td >
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ public Mono<String> index(Model model) {
6363.findAllImages ()
6464.flatMap (image ->
6565Mono .just (image )
66- .and (repository .findByImageId (image .getId ()).collectList ()))
66+ .and (repository .findByImageId (
67+ image .getId ()).collectList ()))
6768.map (imageAndComments -> new HashMap <String , Object >(){{
6869put ("id" , imageAndComments .getT1 ().getId ());
6970put ("name" , imageAndComments .getT1 ().getName ());
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ <h1>Learning Spring Boot - 2nd Edition</h1>
2929 <!-- tag::comments[] -->
3030 < td >
3131 < ul >
32- < li th:each ="comment : ${image.comments} " th:text ="${comment.comment} "> </ li >
32+ < li th:each ="comment : ${image.comments} "
33+ th:text ="${comment.comment} "> </ li >
3334 </ ul >
3435 </ td >
3536 < td >
You can’t perform that action at this time.
0 commit comments