From 14c9804c5c286f1fb92facdea50fd944a9468c9d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 27 May 2020 19:19:11 -0700 Subject: [PATCH] Fix checkstyle issues --- .../org/springframework/boot/json/YamlJsonParserTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/json/YamlJsonParserTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/json/YamlJsonParserTests.java index c1da2c59e2b..1f696dfccc5 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/json/YamlJsonParserTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/json/YamlJsonParserTests.java @@ -16,7 +16,7 @@ package org.springframework.boot.json; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.yaml.snakeyaml.constructor.ConstructorException; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; @@ -34,7 +34,7 @@ public class YamlJsonParserTests extends AbstractJsonParserTests { } @Test - public void customTypesAreNotLoaded() throws Exception { + void customTypesAreNotLoaded() throws Exception { assertThatExceptionOfType(ConstructorException.class) .isThrownBy(() -> getParser().parseMap("{value: !!java.net.URL [\"http://localhost:9000/\"]}")); }