Polishing

This commit is contained in:
Sam Brannen 2023-08-02 10:21:06 +03:00
parent 51aaaae94e
commit 89b85c81a7
2 changed files with 2 additions and 2 deletions

View File

@ -1708,7 +1708,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
return ResolvableType.forClass(clazz);
}
throw new IllegalArgumentException("Invalid value type for attribute '" +
FactoryBean.OBJECT_TYPE_ATTRIBUTE + "': " + attribute.getClass());
FactoryBean.OBJECT_TYPE_ATTRIBUTE + "': " + attribute.getClass().getName());
}
/**

View File

@ -405,7 +405,7 @@ public class RootBeanDefinition extends AbstractBeanDefinition {
return (Constructor<?>[]) attribute;
}
throw new IllegalArgumentException("Invalid value type for attribute '" +
PREFERRED_CONSTRUCTORS_ATTRIBUTE + "': " + attribute.getClass());
PREFERRED_CONSTRUCTORS_ATTRIBUTE + "': " + attribute.getClass().getName());
}
/**