Skip to content

Commit 9634f3d

Browse files
committed
change maven target version to 11
1 parent 06db2f6 commit 9634f3d

File tree

8 files changed

+39
-25
lines changed

8 files changed

+39
-25
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ target/
44
!**/src/test/**/target/
55

66
### IntelliJ IDEA ###
7+
.idea/
78
.idea/modules.xml
89
.idea/jarRepositories.xml
910
.idea/compiler.xml
@@ -38,4 +39,5 @@ build/
3839
.DS_Store
3940

4041
### SonarLint ###
41-
.idea/sonarlint/
42+
43+
!/.idea/sonarlint/

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec

Whitespace-only changes.

.idea/sonarlint/issuestore/8/a/8a6dae537be9f47878c6964c6ee40cab0ca75e28

Whitespace-only changes.

.idea/sonarlint/issuestore/index.pb

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 32 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</dependencies>
1818

1919
<properties>
20-
<maven.compiler.source>18</maven.compiler.source>
21-
<maven.compiler.target>18</maven.compiler.target>
20+
<maven.compiler.source>11</maven.compiler.source>
21+
<maven.compiler.target>11</maven.compiler.target>
2222
</properties>
2323

2424
</project>

src/test/java/io/github/dbc/DuplicateCharactersCounterTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ void shouldReturnMapOfCorrectSize(String input) {
2626
// Act
2727
var characterIntegerMap = counter.countDuplicateCharacters(input);
2828
// Assert
29-
assertEquals(input.length(), characterIntegerMap.size(),
30-
"the map should have the same size as the input string");
29+
assertEquals(input.length(), characterIntegerMap.size(), "the map should have the same size as the input string");
3130
}
3231

3332
@Test

0 commit comments

Comments
 (0)