From 01ceee8de5bd6325eb5d4427d751632e1c1bbb64 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 15 Jul 2023 13:35:51 +0200 Subject: [PATCH] Polishing --- .../result/view/script/KotlinScriptTemplateTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java index 2db1d7dbbd0..f11ca154ff6 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java @@ -41,10 +41,10 @@ import static org.junit.jupiter.api.condition.JRE.JAVA_21; * @author Sebastien Deleuze */ @DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet") -public class KotlinScriptTemplateTests { +class KotlinScriptTemplateTests { @Test - public void renderTemplateWithFrenchLocale() throws Exception { + void renderTemplateWithFrenchLocale() throws Exception { Map model = new HashMap<>(); model.put("foo", "Foo"); String url = "org/springframework/web/reactive/result/view/script/kotlin/template.kts"; @@ -53,7 +53,7 @@ public class KotlinScriptTemplateTests { } @Test - public void renderTemplateWithEnglishLocale() throws Exception { + void renderTemplateWithEnglishLocale() throws Exception { Map model = new HashMap<>(); model.put("foo", "Foo"); String url = "org/springframework/web/reactive/result/view/script/kotlin/template.kts"; @@ -62,7 +62,7 @@ public class KotlinScriptTemplateTests { } @Test - public void renderTemplateWithoutRenderFunction() throws Exception { + void renderTemplateWithoutRenderFunction() throws Exception { Map model = new HashMap<>(); model.put("header", ""); model.put("hello", "Hello");