Commit d10dd137 authored by Andy Wilkinson's avatar Andy Wilkinson

Fix deprecation warning in ConfigurationPropertiesReportEndpoint

parent 1be43948
......@@ -192,7 +192,7 @@ public class ConfigurationPropertiesReportEndpoint extends
*/
private void applyCglibFilters(ObjectMapper mapper) {
mapper.setAnnotationIntrospector(new CglibAnnotationIntrospector());
mapper.setFilters(new SimpleFilterProvider().addFilter(CGLIB_FILTER_ID,
mapper.setFilterProvider(new SimpleFilterProvider().addFilter(CGLIB_FILTER_ID,
new CglibBeanPropertyFilter()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment