Skip to content

Commit f365476

Browse files
committed
Fix copyright and method name
1 parent 772c53e commit f365476

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-tests/spring-boot-integration-tests/spring-boot-console-tests/spring-boot-console-tests-app/src/main/java/org/springframework/boot/consoleapp/ConsoleTestApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-boot-tests/spring-boot-integration-tests/spring-boot-console-tests/src/intTest/java/org/springframework/boot/console/ConsoleIntegrationTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ class ConsoleIntegrationTests {
5151
private final ToStringConsumer output = new ToStringConsumer().withRemoveAnsiCodes(false);
5252

5353
@Test
54-
void runJarIn17() {
54+
void runJarOn17() {
5555
try (GenericContainer<?> container = createContainer(JDK_17_RUNTIME)) {
5656
container.start();
5757
assertThat(this.output.toString(StandardCharsets.ISO_8859_1)).contains("System.console() is null")
@@ -60,7 +60,7 @@ void runJarIn17() {
6060
}
6161

6262
@Test
63-
void runJarIn22() {
63+
void runJarOn22() {
6464
try (GenericContainer<?> container = createContainer(JDK_22_RUNTIME)) {
6565
container.start();
6666
assertThat(this.output.toString(StandardCharsets.ISO_8859_1)).doesNotContain("System.console() is null")

0 commit comments

Comments
 (0)