Skip to content

Commit

Permalink
fix:Fix the problem that the dynamicThreadPoolBeforeCheckBean method …
Browse files Browse the repository at this point in the history
…in the BeforeCheckConfiguration class cannot validate parameters effectively in the config mode. (#1521)
  • Loading branch information
Dawanyezhi authored Nov 28, 2023
1 parent ca44328 commit ccccfd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public BeforeCheckConfiguration.BeforeCheck dynamicThreadPoolBeforeCheckBean(@Au
// 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();
Expand Down

0 comments on commit ccccfd8

Please sign in to comment.