diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/PropertyMapperTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/PropertyMapperTests.java index dec021e5049..3651bbe0a5d 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/PropertyMapperTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/PropertyMapperTests.java @@ -283,7 +283,7 @@ class PropertyMapperTests { this.age = age; } - public Immutable withAge(Integer age) { + Immutable withAge(Integer age) { return new Immutable(this.name, age); }