From d80ed2733956acc6de7170dd7281c4f229efff8a Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 20 Aug 2018 10:33:46 +0200 Subject: [PATCH] Fix checkstyle violation --- .../springframework/boot/configurationprocessor/TypeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java index 7b4e3f7393..2a008fc550 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java @@ -87,7 +87,7 @@ class TypeUtils { private TypeMirror getDeclaredType(Types types, Class typeClass, int numberOfTypeArgs) { TypeMirror[] typeArgs = new TypeMirror[numberOfTypeArgs]; - Arrays.setAll(typeArgs, i -> types.getWildcardType(null, null)); + Arrays.setAll(typeArgs, (i) -> types.getWildcardType(null, null)); TypeElement typeElement = this.env.getElementUtils() .getTypeElement(typeClass.getName()); try {