From 66841ddb3a5e341901c30873f4fdb7cc7d2db0b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 20 Feb 2026 14:29:16 +0100 Subject: [PATCH] Fix checkstyle violation --- .../changelog/DifferenceTests.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/test/java/org/springframework/boot/configurationmetadata/changelog/DifferenceTests.java b/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/test/java/org/springframework/boot/configurationmetadata/changelog/DifferenceTests.java index 090844a695b..fbf92da367f 100644 --- a/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/test/java/org/springframework/boot/configurationmetadata/changelog/DifferenceTests.java +++ b/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/test/java/org/springframework/boot/configurationmetadata/changelog/DifferenceTests.java @@ -30,6 +30,13 @@ import static org.assertj.core.api.Assertions.assertThat; */ class DifferenceTests { + private static ConfigurationMetadataProperty createProperty(String id, Object defaultValue) { + ConfigurationMetadataProperty property = new ConfigurationMetadataProperty(); + property.setId(id); + property.setDefaultValue(defaultValue); + return property; + } + @Nested class DefaultChangedTests { @@ -88,11 +95,4 @@ class DifferenceTests { } - private static ConfigurationMetadataProperty createProperty(String id, Object defaultValue) { - ConfigurationMetadataProperty property = new ConfigurationMetadataProperty(); - property.setId(id); - property.setDefaultValue(defaultValue); - return property; - } - }