From b71c488977ccd4ad296f07bcdaf4a45c9dd4c63f Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 7 Dec 2015 20:05:08 -0800 Subject: [PATCH] Improved source code documenation. --- src/main/java/net/thauvin/erik/mobibot/Utils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +}