From 15442b9667ad2f047d06737f9aa2a70a5b02f1b3 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 3 Aug 2015 10:46:33 +0200 Subject: [PATCH] Avoid wrong meta-data Make `getFaviconLocations` package private so that it's not (wrongly) exposed in the meta-data. Closes gh-3647 --- .../boot/autoconfigure/web/ResourceProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index 9e2022b594..d0278cd117 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java @@ -116,7 +116,7 @@ public class ResourceProperties implements ResourceLoaderAware { return result; } - public List getFaviconLocations() { + List getFaviconLocations() { List locations = new ArrayList( CLASSPATH_RESOURCE_LOCATIONS.length + 1); if (this.resourceLoader != null) {