diff --git a/src/main/java/net/thauvin/erik/mobibot/Utils.java b/src/main/java/net/thauvin/erik/mobibot/Utils.java index 75734d0..9a0977b 100644 --- a/src/main/java/net/thauvin/erik/mobibot/Utils.java +++ b/src/main/java/net/thauvin/erik/mobibot/Utils.java @@ -345,11 +345,11 @@ final class Utils } /** - * Returns true if the given string is valid. + * Returns true if the given string is not blank or null. * - * @param s The string to validate. + * @param s The string to check. * - * @return true if the string is non-empty and not null, false otherwise. + * @return true if the string is valid, false otherwise. */ public static boolean isValidString(final CharSequence s) { @@ -420,4 +420,4 @@ final class Utils return s; } -} \ No newline at end of file +}