From 37a7457f36e3b2a7413e8edb8f70a436f7c7f2f7 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 1 Jun 2018 15:02:46 -0700 Subject: [PATCH] Polish --- .../boot/context/properties/bind/CollectionBinder.java | 3 ++- .../boot/context/properties/bind/MapBinder.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/CollectionBinder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/CollectionBinder.java index 618c80d034..81f76c2b77 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/CollectionBinder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/CollectionBinder.java @@ -71,7 +71,8 @@ class CollectionBinder extends IndexedElementsBinder> { } } - private Collection getExistingIfPossible(Supplier> existing) { + private Collection getExistingIfPossible( + Supplier> existing) { try { return existing.get(); } diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java index 29ceb2f253..8aaa5c0c79 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/MapBinder.java @@ -100,7 +100,8 @@ class MapBinder extends AggregateBinder> { } } - private Map getExistingIfPossible(Supplier> existing) { + private Map getExistingIfPossible( + Supplier> existing) { try { return existing.get(); }