Skip to content

Commit 049bd43

Browse files
author
Bruce Downs
committed
intellij tweak
1 parent f5a5770 commit 049bd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/src/main/java/com/slack/api/bolt/handler/builtin/DefaultTokensRevokedEventHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public Response apply(
5858
}
5959
}
6060
}
61-
if (tokens.getBot() != null && tokens.getBot().size() > 0) { // bots
61+
if (tokens.getBot() != null && !tokens.getBot().isEmpty()) { // bots
6262
// actually only one bot per app in a workspace
6363
Bot bot = installationService.findBot(enterpriseId, teamId);
6464
if (bot != null) {

0 commit comments

Comments
 (0)