This commit is contained in:
ggregory 2016-03-02 00:52:42 -08:00
parent ac78ec294e
commit cd63fed74c
1 changed files with 8 additions and 8 deletions

View File

@ -1703,14 +1703,14 @@ public class StringUtils {
* <p>A {@code null} CharSequence will return {@code false}.</p> * <p>A {@code null} CharSequence will return {@code false}.</p>
* *
* <pre> * <pre>
* StringUtils.contains(null, *) = false * StringUtils.containsIgnoreCase(null, *) = false
* StringUtils.contains(*, null) = false * StringUtils.containsIgnoreCase(*, null) = false
* StringUtils.contains("", "") = true * StringUtils.containsIgnoreCase("", "") = true
* StringUtils.contains("abc", "") = true * StringUtils.containsIgnoreCase("abc", "") = true
* StringUtils.contains("abc", "a") = true * StringUtils.containsIgnoreCase("abc", "a") = true
* StringUtils.contains("abc", "z") = false * StringUtils.containsIgnoreCase("abc", "z") = false
* StringUtils.contains("abc", "A") = true * StringUtils.containsIgnoreCase("abc", "A") = true
* StringUtils.contains("abc", "Z") = false * StringUtils.containsIgnoreCase("abc", "Z") = false
* </pre> * </pre>
* *
* @param str the CharSequence to check, may be null * @param str the CharSequence to check, may be null