fix:Fix the problem that the dynamicThreadPoolBeforeCheckBean method in the BeforeCheckConfiguration class cannot validate parameters effectively in the config mode. (#1521)

pull/1513/merge
yezi 7 months ago committed by GitHub
parent ca44328f45
commit ccccfd8060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@ public class BeforeCheckConfiguration {
// TODO test
boolean checkFlag = properties != null && properties.getEnable();
if (checkFlag) {
String propertiesClassName = properties.getClass().getName();
String propertiesClassName = properties.getClass().getSuperclass() == Object.class ? properties.getClass().getName() : properties.getClass().getSuperclass().getName();
switch (propertiesClassName) {
case bootstrapPropertiesClassName: {
String namespace = properties.getNamespace();

Loading…
Cancel
Save