Skip to content

Commit 6bb85df

Browse files
authored
Add 50 additional Stream API examples
1 parent 16b5dd8 commit 6bb85df

File tree

4 files changed

+831
-5
lines changed

4 files changed

+831
-5
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- name: Set up JDK 17
16+
- name: Set up JDK 21
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: '17'
20-
distribution: 'temurin'
19+
java-version: '21'
20+
distribution: 'corretto'
2121
cache: maven
2222
- name: Build with Maven
2323
run: mvn -B package --file pom.xml

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<name>java_stream_api</name>
1111

1212
<properties>
13-
<maven.compiler.source>1.8</maven.compiler.source>
14-
<maven.compiler.target>1.8</maven.compiler.target>
13+
<maven.compiler.source>21</maven.compiler.source>
14+
<maven.compiler.target>21</maven.compiler.target>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<junit.jupiter.version>5.13.0</junit.jupiter.version>
1717
</properties>

0 commit comments

Comments
 (0)