Skip to content

Commit

Permalink
Uses new BEAN_NAME constant from spring boot 2.0
Browse files Browse the repository at this point in the history
fixes gh-324
  • Loading branch information
spencergibb committed Feb 18, 2018
1 parent e77a3fd commit 43ea046
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public ConfigurationPropertiesBeans configurationPropertiesBeans() {
// need is super optimal, but a little brittle (unfortunately we have no
// choice).
ConfigurationBeanFactoryMetadata metaData = this.context.getBean(
ConfigurationPropertiesBindingPostProcessorRegistrar.BINDER_BEAN_NAME
+ ".store",
ConfigurationBeanFactoryMetadata.BEAN_NAME,
ConfigurationBeanFactoryMetadata.class);
ConfigurationPropertiesBeans beans = new ConfigurationPropertiesBeans();
beans.setBeanMetaDataStore(metaData);
Expand Down

0 comments on commit 43ea046

Please sign in to comment.