Javadoc - more copy-paste errors converting first to last
Add details of invariants git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493104 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43b4c722bc
commit
cf4979715f
|
@ -784,7 +784,7 @@ public class StringUtils {
|
||||||
* @param seq the CharSequence to check, may be null
|
* @param seq the CharSequence to check, may be null
|
||||||
* @param searchChar the character to find
|
* @param searchChar the character to find
|
||||||
* @param startPos the start position, negative treated as zero
|
* @param startPos the start position, negative treated as zero
|
||||||
* @return the first index of the search character,
|
* @return the first index of the search character (always ≥ startPos),
|
||||||
* -1 if no match or {@code null} string input
|
* -1 if no match or {@code null} string input
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @since 3.0 Changed signature from indexOf(String, int, int) to indexOf(CharSequence, int, int)
|
* @since 3.0 Changed signature from indexOf(String, int, int) to indexOf(CharSequence, int, int)
|
||||||
|
@ -855,7 +855,7 @@ public class StringUtils {
|
||||||
* @param seq the CharSequence to check, may be null
|
* @param seq the CharSequence to check, may be null
|
||||||
* @param searchSeq the CharSequence to find, may be null
|
* @param searchSeq the CharSequence to find, may be null
|
||||||
* @param startPos the start position, negative treated as zero
|
* @param startPos the start position, negative treated as zero
|
||||||
* @return the first index of the search CharSequence,
|
* @return the first index of the search CharSequence (always ≥ startPos),
|
||||||
* -1 if no match or {@code null} string input
|
* -1 if no match or {@code null} string input
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @since 3.0 Changed signature from indexOf(String, String, int) to indexOf(CharSequence, CharSequence, int)
|
* @since 3.0 Changed signature from indexOf(String, String, int) to indexOf(CharSequence, CharSequence, int)
|
||||||
|
@ -998,7 +998,7 @@ public class StringUtils {
|
||||||
* @param str the CharSequence to check, may be null
|
* @param str the CharSequence to check, may be null
|
||||||
* @param searchStr the CharSequence to find, may be null
|
* @param searchStr the CharSequence to find, may be null
|
||||||
* @param startPos the start position, negative treated as zero
|
* @param startPos the start position, negative treated as zero
|
||||||
* @return the first index of the search CharSequence,
|
* @return the first index of the search CharSequence (always ≥ startPos),
|
||||||
* -1 if no match or {@code null} string input
|
* -1 if no match or {@code null} string input
|
||||||
* @since 2.5
|
* @since 2.5
|
||||||
* @since 3.0 Changed signature from indexOfIgnoreCase(String, String, int) to indexOfIgnoreCase(CharSequence, CharSequence, int)
|
* @since 3.0 Changed signature from indexOfIgnoreCase(String, String, int) to indexOfIgnoreCase(CharSequence, CharSequence, int)
|
||||||
|
@ -1077,7 +1077,7 @@ public class StringUtils {
|
||||||
* @param seq the CharSequence to check, may be null
|
* @param seq the CharSequence to check, may be null
|
||||||
* @param searchChar the character to find
|
* @param searchChar the character to find
|
||||||
* @param startPos the start position
|
* @param startPos the start position
|
||||||
* @return the last index of the search character,
|
* @return the last index of the search character (always ≤ startPos),
|
||||||
* -1 if no match or {@code null} string input
|
* -1 if no match or {@code null} string input
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @since 3.0 Changed signature from lastIndexOf(String, int, int) to lastIndexOf(CharSequence, int, int)
|
* @since 3.0 Changed signature from lastIndexOf(String, int, int) to lastIndexOf(CharSequence, int, int)
|
||||||
|
@ -1181,7 +1181,7 @@ public class StringUtils {
|
||||||
* @param seq the CharSequence to check, may be null
|
* @param seq the CharSequence to check, may be null
|
||||||
* @param searchSeq the CharSequence to find, may be null
|
* @param searchSeq the CharSequence to find, may be null
|
||||||
* @param startPos the start position, negative treated as zero
|
* @param startPos the start position, negative treated as zero
|
||||||
* @return the first index of the search CharSequence,
|
* @return the last index of the search CharSequence (always ≤ startPos),
|
||||||
* -1 if no match or {@code null} string input
|
* -1 if no match or {@code null} string input
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
* @since 3.0 Changed signature from lastIndexOf(String, String, int) to lastIndexOf(CharSequence, CharSequence, int)
|
* @since 3.0 Changed signature from lastIndexOf(String, String, int) to lastIndexOf(CharSequence, CharSequence, int)
|
||||||
|
@ -1247,7 +1247,7 @@ public class StringUtils {
|
||||||
* @param str the CharSequence to check, may be null
|
* @param str the CharSequence to check, may be null
|
||||||
* @param searchStr the CharSequence to find, may be null
|
* @param searchStr the CharSequence to find, may be null
|
||||||
* @param startPos the start position
|
* @param startPos the start position
|
||||||
* @return the first index of the search CharSequence,
|
* @return the last index of the search CharSequence (always ≤ startPos),
|
||||||
* -1 if no match or {@code null} input
|
* -1 if no match or {@code null} input
|
||||||
* @since 2.5
|
* @since 2.5
|
||||||
* @since 3.0 Changed signature from lastIndexOfIgnoreCase(String, String, int) to lastIndexOfIgnoreCase(CharSequence, CharSequence, int)
|
* @since 3.0 Changed signature from lastIndexOfIgnoreCase(String, String, int) to lastIndexOfIgnoreCase(CharSequence, CharSequence, int)
|
||||||
|
|
Loading…
Reference in New Issue