diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java index 2c49593593..d868f78776 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java @@ -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