We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ea49d commit 05a19cbCopy full SHA for 05a19cb
spring-cloud-context/src/main/java/org/springframework/cloud/autoconfigure/RefreshAutoConfiguration.java
@@ -100,9 +100,10 @@ public Set<String> getRefreshable() {
100
}
101
102
public void setRefreshable(Set<String> refreshables) {
103
- if (this.refreshables != refreshables) {
104
- this.refreshables.clear();
+ if (this.refreshables == refreshables) {
+ return;
105
106
+ this.refreshables.clear();
107
this.refreshables.addAll(refreshables);
108
109
0 commit comments