Skip to content

Commit

Permalink
v8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
839128 committed Sep 24, 2024
1 parent a8ae313 commit 405af63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public int getOrder() {
@Override
protected boolean isEnable(ConfigurableApplicationContext context) {
String switchKey = switchKey();
Assert.hasText(switchKey, "switch key must has text.");
Assert.notNull(switchKey, "switch key must has text.");
String realKey = CONFIG_KEY_PREFIX + switchKey + ".enabled";
String switchText = context.getEnvironment().getProperty(realKey);
if (StringKit.hasText(switchText)) {
Expand Down

0 comments on commit 405af63

Please sign in to comment.