Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Jul 27, 2024
1 parent 525f476 commit 3225982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class FileController {
}
}
""";
Map<String, Object> fileVariables = singletonMap("files", Arrays.asList(
Map<String, Object> fileVariables = singletonMap("files", List.of(
new ClassPathResource("/foo.txt"),
new ClassPathResource("/bar.txt")
));
Expand Down Expand Up @@ -99,7 +99,7 @@ public class FileController {
}
}
""";
Map<String, Object> fileVariables = singletonMap("files", Arrays.asList(
Map<String, Object> fileVariables = singletonMap("files", List.of(
new ClassPathResource("/foo.txt"),
new ClassPathResource("/bar.txt")
));
Expand Down

0 comments on commit 3225982

Please sign in to comment.