瀏覽代碼

No need to make command line runner public

Matt Raible 7 年之前
父節點
當前提交
43ff824957
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      TUTORIAL.md

+ 1
- 1
TUTORIAL.md 查看文件

@@ -89,7 +89,7 @@ import org.springframework.stereotype.Component;
89 89
 import java.util.stream.Stream;
90 90
 
91 91
 @Component
92
-public class BeerCommandLineRunner implements CommandLineRunner {
92
+class BeerCommandLineRunner implements CommandLineRunner {
93 93
     private final BeerRepository repository;
94 94
 
95 95
     public BeerCommandLineRunner(BeerRepository repository) {