Skip to content

Commit 5d5ae05

Browse files
committed
[smallFix] FirasRG first review: replace var with explicit type
1 parent a6efb2c commit 5d5ae05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/basic/QuoteBoardForwarder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.togetherjava.tjbot.features.basic;
22

33
import net.dv8tion.jda.api.JDA;
4+
import net.dv8tion.jda.api.entities.Guild;
45
import net.dv8tion.jda.api.entities.Message;
56
import net.dv8tion.jda.api.entities.MessageReaction;
67
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
@@ -114,7 +115,7 @@ private RestAction<Void> markAsProcessed(Message message) {
114115
* @return the board text channel
115116
*/
116117
private Optional<TextChannel> findQuoteBoardChannel(JDA jda, long guildId) {
117-
var guild = jda.getGuildById(guildId);
118+
Guild guild = jda.getGuildById(guildId);
118119

119120
if (guild == null) {
120121
throw new IllegalStateException(

0 commit comments

Comments
 (0)