🎨 Make field final
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 25 Sep 2021 15:58:35 +0000 (17:58 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 25 Sep 2021 15:58:35 +0000 (17:58 +0200)
src/main/java/net/pterodactylus/irc/DefaultConnection.java

index 39908ef..e44a48c 100644 (file)
@@ -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;