Last active
February 11, 2019 15:05
-
-
Save circlee/f4a31a54ad62c364b85665b9a7dd4ca5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public synchronized Set<String> refreshEnvironment() { | |
Map<String, Object> before = extract( | |
this.context.getEnvironment().getPropertySources()); | |
addConfigFilesToEnvironment(); | |
Set<String> keys = changes(before, | |
extract(this.context.getEnvironment().getPropertySources())).keySet(); | |
this.context.publishEvent(new EnvironmentChangeEvent(this.context, keys)); | |
return keys; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment