From: David ‘Bombe’ Roden Date: Sat, 25 Sep 2021 15:58:35 +0000 (+0200) Subject: 🎨 Make field final X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7a1517cf71fa11f7e7b5134c5bb7d77514a504ed;p=xudocci.git 🎨 Make field final --- diff --git a/src/main/java/net/pterodactylus/irc/DefaultConnection.java b/src/main/java/net/pterodactylus/irc/DefaultConnection.java index 39908ef..e44a48c 100644 --- a/src/main/java/net/pterodactylus/irc/DefaultConnection.java +++ b/src/main/java/net/pterodactylus/irc/DefaultConnection.java @@ -98,7 +98,7 @@ public class DefaultConnection extends AbstractExecutionThreadService implements private final int port; /** The nickname chooser. */ - private NicknameChooser nicknameChooser = RandomNickname::get; + private final NicknameChooser nicknameChooser = RandomNickname::get; /** The nickname. */ private String nickname = null;