Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
java: [ '1.8', '11', '17' ]
java: [ '11', '17' ]

name: Java ${{ matrix.java }} NoCommons
steps:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@

<properties>
<!-- Dependency version -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
3 changes: 1 addition & 2 deletions src/test/java/no/bekk/bekkopen/mail/MailValidatorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
Expand All @@ -22,7 +21,7 @@
public class MailValidatorTest {
private static final Poststed HAMAR = new Poststed("Hamar");

private static final List<PostInfo> postInfo = Arrays.asList(
private static final List<PostInfo> postInfo = List.of(
new PostInfo(
new Postnummer("4633"),
new Poststed("KRISTIANSAND S"),
Expand Down