Fix javadoc problems.
[xudocci.git] / src / main / java / net / pterodactylus / irc / Connection.java
index a50c946..0e7c461 100644 (file)
@@ -160,7 +160,7 @@ public class Connection extends AbstractExecutionThreadService implements Servic
         *
         * @param username
         *              The username to use
-        * @return
+        * @return This connection
         */
        public Connection username(String username) {
                this.username = Optional.fromNullable(username);
@@ -200,7 +200,6 @@ public class Connection extends AbstractExecutionThreadService implements Servic
         *
         * @param channel
         *              The channel to join
-        * @return {@code true} if the channel was joined, {@code false} otherwise
         * @throws IOException
         *              if an I/O error occurs
         */
@@ -329,7 +328,6 @@ public class Connection extends AbstractExecutionThreadService implements Servic
                                } else if (command.equals("332")) {
                                        eventBus.post(new ChannelTopic(this, parameters.get(1), parameters.get(2)));
                                } else if (command.equals("353")) {
-                                       String channel = parameters.get(2);
                                        for (String nickname : parameters.get(3).split(" ")) {
                                                if (nickPrefixes.containsKey(nickname.substring(0, 1))) {
                                                        nicks.add(new Nickname(nickname.substring(1), nickname.substring(0, 1)));