Remove accidental usage of Type.getTypeName() which is a Java 8 API
Closes gh-6325
This commit is contained in:
@@ -308,8 +308,8 @@ public class ConfigurationPropertiesReportEndpoint
|
||||
}
|
||||
|
||||
private boolean isReadable(BeanDescription beanDesc, BeanPropertyWriter writer) {
|
||||
String parentType = beanDesc.getType().getRawClass().getName();
|
||||
String type = writer.getType().getTypeName();
|
||||
Class<?> parentType = beanDesc.getType().getRawClass();
|
||||
Class<?> type = writer.getType().getRawClass();
|
||||
AnnotatedMethod setter = findSetter(beanDesc, writer);
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user