Skip to content

Commit 9727e06

Browse files
committed
fix compilation
Signed-off-by: wind57 <[email protected]>
1 parent deb74c8 commit 9727e06

File tree

1 file changed

+2
-1
lines changed
  • spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/reload

1 file changed

+2
-1
lines changed

spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/reload/ConfigReloadUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public static boolean reload(PropertySourceLocator locator, ConfigurableEnvironm
8787
* @param sourceClass class for which property sources will be found
8888
* @return finds all registered property sources of the given type
8989
*/
90-
static <S extends PropertySource<?>> List<S> findPropertySources(Class<S> sourceClass,
90+
@SuppressWarnings("unchecked")
91+
public static <S extends PropertySource<?>> List<S> findPropertySources(Class<S> sourceClass,
9192
ConfigurableEnvironment environment) {
9293
List<S> managedSources = new ArrayList<>();
9394

0 commit comments

Comments
 (0)