X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Firc%2FConnection.java;h=0e7c4612f007e6e8e23806803f63c64e70ea600f;hb=c74521454ed57b89ae52624194a48b8173369603;hp=fd7748f5cd9e2fd88778e99fabdcc7cba4cbed1f;hpb=414efda90e3473263ebcf3e82aedb7c6d3ab0da8;p=xudocci.git diff --git a/src/main/java/net/pterodactylus/irc/Connection.java b/src/main/java/net/pterodactylus/irc/Connection.java index fd7748f..0e7c461 100644 --- a/src/main/java/net/pterodactylus/irc/Connection.java +++ b/src/main/java/net/pterodactylus/irc/Connection.java @@ -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 */