diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/annotation/ImportCandidates.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/annotation/ImportCandidates.java index 6cf9a8d9b3..59fe569e94 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/annotation/ImportCandidates.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/annotation/ImportCandidates.java @@ -102,8 +102,7 @@ public final class ImportCandidates implements Iterable { return classLoader.getResources(location); } catch (IOException ex) { - throw new IllegalArgumentException("Failed to load configurations from location [" + location + "]", - ex); + throw new IllegalArgumentException("Failed to load configurations from location [" + location + "]", ex); } }