From 00ec17b418f4545d8c849df416fd13ecba7bfefc Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 19 Jul 2022 11:51:44 +0100 Subject: [PATCH] Fix checkstyle violation See gh-31323 --- .../boot/context/properties/PropertyMapperTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }