Correct javadoc

This commit is contained in:
Kieran Wallbanks 2021-04-25 22:42:46 +01:00
parent f9245e8404
commit c92829e3cf

View File

@ -38,7 +38,7 @@ public class OpenToLAN {
/**
* Opens the server to LAN with the default config.
*
* @return {@code true} if it was open successfully, {@code false} otherwise
* @return {@code true} if it was opened successfully, {@code false} otherwise
*/
public static boolean open() {
return open(new OpenToLANConfig());
@ -48,7 +48,7 @@ public class OpenToLAN {
* Opens the server to LAN.
*
* @param config the configuration
* @return {@code true} if it was open successfully, {@code false} otherwise
* @return {@code true} if it was opened successfully, {@code false} otherwise
*/
public static boolean open(@NotNull OpenToLANConfig config) {
if (socket != null) {