Skip to content

Commit 43b1de2

Browse files
committed
Fixed parentheses for checkstyle
1 parent 9b5aec0 commit 43b1de2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/net/javadiscord/javabot/systems/help/commands/HelpPingCommand.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ private boolean isHelpPingForbiddenForMember(ChannelReservation reservation, Mem
107107
*/
108108
private boolean isHelpPingTimeoutElapsed(Member member, GuildConfig config) {
109109
Long lastPing = lastPingTimes.get(member);
110-
return (
111-
lastPing == null ||
112-
lastPing + config.getHelp().getHelpPingTimeoutSeconds() * 1000L < System.currentTimeMillis()
113-
);
110+
return lastPing == null ||
111+
lastPing + config.getHelp().getHelpPingTimeoutSeconds() * 1000L < System.currentTimeMillis();
114112
}
115113

116114
/**

0 commit comments

Comments
 (0)