Skip to content

Commit e97b1b9

Browse files
committed
📝 update readme
1 parent fb75d28 commit e97b1b9

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ Java8 改变了我们思考和编码的方式,在这里你可以学习到 Java
3939
> 💡 点击课时标题即可查看课程大纲
4040
>
4141
> 💊 建议课程食用方式: x1.25倍速效果更佳
42-
>
43-
> ⚠️ 由于春节放假,第九课之后的内容可能在节后放送,可加入下方QQ群关注最新课程消息。
4442
4543
## 相关资源
4644

java8-stream/src/main/java/io/github/biezhi/java8/stream/lesson1/Java8.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
import io.github.biezhi.java8.stream.Project;
44

5-
import java.util.ArrayList;
6-
import java.util.Collections;
7-
import java.util.Comparator;
85
import java.util.List;
96
import java.util.stream.Collectors;
107

@@ -15,9 +12,7 @@
1512
public class Java8 {
1613

1714
public static void main(String[] args) {
18-
List<Project> result = new ArrayList<>();
19-
20-
List<Project> projects = new ArrayList<>();
15+
List<Project> projects = Project.buildData();
2116
List<String> names = projects.stream()
2217
.filter(p -> p.getStars() > 1000)
2318
.map(Project::getName)

0 commit comments

Comments
 (0)