Browse Source

Fix checkstyle violation

pull/49282/head
Stéphane Nicoll 4 weeks ago
parent
commit
66841ddb3a
  1. 14
      configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/test/java/org/springframework/boot/configurationmetadata/changelog/DifferenceTests.java

14
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; @@ -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 { @@ -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;
}
}

Loading…
Cancel
Save