From 2f39ebfe892ccf0fd39d1bdf17db19b059ea06f5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 16 Jun 2023 15:23:12 -0700 Subject: [PATCH] Polish --- .../properties/migrator/PropertiesMigrationReporterTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporterTests.java b/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporterTests.java index b6e51351280..815f9f7f4b5 100644 --- a/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporterTests.java +++ b/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporterTests.java @@ -162,7 +162,7 @@ class PropertiesMigrationReporterTests { } @Test - void mapPropertiesDeprecatedNoReplacement() throws IOException { + void mapPropertiesDeprecatedNoReplacement() { this.environment.getPropertySources() .addFirst( new MapPropertySource("first", Collections.singletonMap("custom.map-no-replacement.key", "value"))); @@ -173,7 +173,7 @@ class PropertiesMigrationReporterTests { } @Test - void mapPropertiesDeprecatedWithReplacement() throws IOException { + void mapPropertiesDeprecatedWithReplacement() { this.environment.getPropertySources() .addFirst(new MapPropertySource("first", Collections.singletonMap("custom.map-with-replacement.key", "value")));