public static void validateNotEmpty ( String stringToCheck , String argumentName ) throws NullArgumentException { validateNotEmpty ( stringToCheck , false , argumentName ) ; }
Validates that the string is not null and not an empty string without trimming the string .