Skip to content

Commit 01ceee8

Browse files
committed
Polishing
1 parent 0611192 commit 01ceee8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
* @author Sebastien Deleuze
4242
*/
4343
@DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet")
44-
public class KotlinScriptTemplateTests {
44+
class KotlinScriptTemplateTests {
4545

4646
@Test
47-
public void renderTemplateWithFrenchLocale() throws Exception {
47+
void renderTemplateWithFrenchLocale() throws Exception {
4848
Map<String, Object> model = new HashMap<>();
4949
model.put("foo", "Foo");
5050
String url = "org/springframework/web/reactive/result/view/script/kotlin/template.kts";
@@ -53,7 +53,7 @@ public void renderTemplateWithFrenchLocale() throws Exception {
5353
}
5454

5555
@Test
56-
public void renderTemplateWithEnglishLocale() throws Exception {
56+
void renderTemplateWithEnglishLocale() throws Exception {
5757
Map<String, Object> model = new HashMap<>();
5858
model.put("foo", "Foo");
5959
String url = "org/springframework/web/reactive/result/view/script/kotlin/template.kts";
@@ -62,7 +62,7 @@ public void renderTemplateWithEnglishLocale() throws Exception {
6262
}
6363

6464
@Test
65-
public void renderTemplateWithoutRenderFunction() throws Exception {
65+
void renderTemplateWithoutRenderFunction() throws Exception {
6666
Map<String, Object> model = new HashMap<>();
6767
model.put("header", "<html><body>");
6868
model.put("hello", "Hello");

0 commit comments

Comments
 (0)