Extract connection interface.
[xudocci.git] / src / main / java / net / pterodactylus / irc / NicknameChooser.java
index 9a9357a..7731805 100644 (file)
@@ -18,8 +18,8 @@
 package net.pterodactylus.irc;
 
 /**
- * A nickname choose is used to get a new nickname. It is used by the {@link
- * Connection} to retrieve the initial nickname of the connection, and it’s also
+ * A nickname chooser is used to get a new nickname. It is used by the {@link
+ * DefaultConnection} to retrieve the initial nickname of the connection, and it’s also
  * used in case a nick change results in a “nickname already in use” error.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
@@ -31,6 +31,6 @@ public interface NicknameChooser {
         *
         * @return A nickname
         */
-       public String getNickname();
+       String getNickname();
 
 }