LANG-1281: Javadoc of StringUtils.ordinalIndexOf is contradictory (closes #205)
This commit is contained in:
parent
ea666d5230
commit
05647d46e9
|
@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<body>
|
||||
|
||||
<release version="3.6" date="2016-MM-DD" description="TBD">
|
||||
<action issue="LANG-1281" type="fix" dev="pschumacher" due-to="Andreas Lundblad">Javadoc of StringUtils.ordinalIndexOf is contradictory.</action>
|
||||
<action issue="LANG-1269" type="fix" dev="pschumacher">Wrong name or result of StringUtils#getJaroWinklerDistance</action>
|
||||
<action issue="LANG-1188" type="fix" dev="pschumacher">StringUtils#join(T...): warning: [unchecked] Possible heap pollution from parameterized vararg type T</action>
|
||||
<action issue="LANG-1144" type="fix" dev="ggregory" due-to="Waldemar Maier, Gary Gregory">Multiple calls of org.apache.commons.lang3.concurrent.LazyInitializer.initialize() are possible.</action>
|
||||
|
|
|
@ -1394,10 +1394,10 @@ public class StringUtils {
|
|||
* <p>Finds the n-th index within a CharSequence, handling {@code null}.
|
||||
* This method uses {@link String#indexOf(String)} if possible.</p>
|
||||
* <p><b>Note:</b> The code starts looking for a match at the start of the target,
|
||||
* incrementing the starting index by one after each successful match.</p>
|
||||
* <p>The code increments the starting index by one,
|
||||
* rather than by the length of the match string,
|
||||
* so matches may overlap.</p>
|
||||
* incrementing the starting index by one after each successful match
|
||||
* (unless {@code searchStr} is an empty string in which case the position
|
||||
* is never incremented and {@code 0} is returned immediately).
|
||||
* This means that matches may overlap.</p>
|
||||
* <p>A {@code null} CharSequence will return {@code -1}.</p>
|
||||
*
|
||||
* <pre>
|
||||
|
|
Loading…
Reference in New Issue