Skip to content

Commit 2be7bbe

Browse files
committed
fix code snippet
1 parent 0162f43 commit 2be7bbe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/blog/getting-started-with-spring-boot.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ public class GraphQLDataFetchers {
259259

260260
private static List<Map<String, String>> books = Arrays.asList(
261261
ImmutableMap.of("id", "book-1",
262-
"name", "Moby Dick",
263-
"pageCount", "635",
264-
"authorId", "author-1"),
265-
ImmutableMap.of("id", "book-2",
266262
"name", "Harry Potter and the Philosopher's Stone",
267263
"pageCount", "223",
264+
"authorId", "author-1"),
265+
ImmutableMap.of("id", "book-2",
266+
"name", "Moby Dick",
267+
"pageCount", "635",
268268
"authorId", "author-2"),
269269
ImmutableMap.of("id", "book-3",
270270
"name", "Interview with the vampire",
@@ -274,11 +274,11 @@ public class GraphQLDataFetchers {
274274

275275
private static List<Map<String, String>> authors = Arrays.asList(
276276
ImmutableMap.of("id", "author-1",
277-
"firstName", "Herman",
278-
"lastName", "Melville"),
279-
ImmutableMap.of("id", "author-2",
280277
"firstName", "Joanne",
281278
"lastName", "Rowling"),
279+
ImmutableMap.of("id", "author-2",
280+
"firstName", "Herman",
281+
"lastName", "Melville"),
282282
ImmutableMap.of("id", "author-3",
283283
"firstName", "Anne",
284284
"lastName", "Rice")

0 commit comments

Comments
 (0)