File tree Expand file tree Collapse file tree
java/com/greglturnquist/learningspringboot
java/com/greglturnquist/learningspringboot
java/com/greglturnquist/learningspringboot Expand file tree Collapse file tree 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 ->
7272 Mono .just (image )
73- .and (repository .findByImageId (image .getId ()).collectList ()))
73+ .and (repository .findByImageId (
74+ image .getId ()).collectList ()))
7475 .map (imageAndComments -> new HashMap <String , Object >(){{
7576 put ("id" , imageAndComments .getT1 ().getId ());
7677 put ("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 ->
6565 Mono .just (image )
66- .and (repository .findByImageId (image .getId ()).collectList ()))
66+ .and (repository .findByImageId (
67+ image .getId ()).collectList ()))
6768 .map (imageAndComments -> new HashMap <String , Object >(){{
6869 put ("id" , imageAndComments .getT1 ().getId ());
6970 put ("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 ->
6565 Mono .just (image )
66- .and (repository .findByImageId (image .getId ()).collectList ()))
66+ .and (repository .findByImageId (
67+ image .getId ()).collectList ()))
6768 .map (imageAndComments -> new HashMap <String , Object >(){{
6869 put ("id" , imageAndComments .getT1 ().getId ());
6970 put ("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