[ https://issues.apache.org/jira/browse/LANG-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009306#comment-18009306 ]
Gary D. Gregory edited comment on LANG-1780 at 7/23/25 3:37 PM: ---------------------------------------------------------------- [~tproko] Please verify git master and/or a snapshot build from [https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/3.18.1-SNAPSHOT] If appropriate, the close this ticket. TY & well done! was (Author: garydgregory): [~tproko] Please verify git master and/or a snapshot build from [https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/3.18.1-SNAPSHOT] TY & well done! > Javadoc of new Strings API > -------------------------- > > Key: LANG-1780 > URL: https://issues.apache.org/jira/browse/LANG-1780 > Project: Commons Lang > Issue Type: Improvement > Components: lang.* > Affects Versions: 3.18.0 > Reporter: tza > Priority: Minor > Fix For: 3.18.1 > > > Several Javadoc of the new Strings-API was created with old method calls - > where you had xx and xxIgnoreCase in StringUtils. Like contains and > containsIgnoreCase looking at the new javadoc of Strings.CS/CI.contains: > > {code:java} > * Strings.CI.containsIgnoreCase("abc", "A") = true > * Strings.CI.containsIgnoreCase("abc", "Z") = false > * </pre> > * > * @param seq the CharSequence to check, may be null > * @param searchSeq the CharSequence to find, may be null > * @return true if the CharSequence contains the search CharSequence, false if > not or {@code null} string input */ > public abstract boolean contains(CharSequence seq, CharSequence > searchSeq);{code} > > but CS/CI only supports the method contains (containsIgnoreCase was the old > name from StringUtils). I would expect Strings.CI.contains() here in the > examples. > > This javadoc is the same most likely for all the methods which had an > IgnoreCase variant. Same with the javadoc of: compare, equals, indexOf, > lastIndexOf, prependIfMissing, remove, removeEnd, removeStart, replace, > replaceOnce, startsWith. -- This message was sent by Atlassian Jira (v8.20.10#820010)