Commit 5bfc6a50 authored by Andy Wilkinson's avatar Andy Wilkinson

Remove accidental usage of Type.getTypeName() which is a Java 8 API

Closes gh-6325
parent 4b91965d
...@@ -308,8 +308,8 @@ public class ConfigurationPropertiesReportEndpoint ...@@ -308,8 +308,8 @@ public class ConfigurationPropertiesReportEndpoint
} }
private boolean isReadable(BeanDescription beanDesc, BeanPropertyWriter writer) { private boolean isReadable(BeanDescription beanDesc, BeanPropertyWriter writer) {
String parentType = beanDesc.getType().getRawClass().getName(); Class<?> parentType = beanDesc.getType().getRawClass();
String type = writer.getType().getTypeName(); Class<?> type = writer.getType().getRawClass();
AnnotatedMethod setter = findSetter(beanDesc, writer); AnnotatedMethod setter = findSetter(beanDesc, writer);
// If there's a setter, we assume it's OK to report on the value, // If there's a setter, we assume it's OK to report on the value,
// similarly, if there's no setter but the package names match, we assume // similarly, if there's no setter but the package names match, we assume
......
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