File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
spring-cloud-context/src/main/java/org/springframework/cloud/context/refresh Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2012-2020 the original author or authors.
2+ * Copyright 2012-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3131import org .springframework .cloud .context .environment .EnvironmentChangeEvent ;
3232import org .springframework .cloud .context .scope .refresh .RefreshScope ;
3333import org .springframework .context .ConfigurableApplicationContext ;
34- import org .springframework .context .annotation .Configuration ;
3534import org .springframework .core .env .CommandLinePropertySource ;
3635import org .springframework .core .env .CompositePropertySource ;
3736import org .springframework .core .env .ConfigurableEnvironment ;
@@ -197,9 +196,4 @@ else if (parent instanceof EnumerablePropertySource) {
197196 }
198197 }
199198
200- @ Configuration (proxyBeanMethods = false )
201- protected static class Empty {
202-
203- }
204-
205199}
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2012-2020 the original author or authors.
2+ * Copyright 2012-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828import org .springframework .cloud .bootstrap .BootstrapConfigFileApplicationListener ;
2929import org .springframework .cloud .context .scope .refresh .RefreshScope ;
3030import org .springframework .context .ConfigurableApplicationContext ;
31+ import org .springframework .context .annotation .Configuration ;
3132import org .springframework .core .env .MapPropertySource ;
3233import org .springframework .core .env .MutablePropertySources ;
3334import org .springframework .core .env .PropertySource ;
@@ -127,4 +128,9 @@ protected void updateEnvironment() {
127128 return capture ;
128129 }
129130
131+ @ Configuration (proxyBeanMethods = false )
132+ protected static class Empty {
133+
134+ }
135+
130136}
You can’t perform that action at this time.
0 commit comments