LANG-836 StrSubstitutor does not support StringBuilder or CharSequence
Forgot to correct @since tags git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1487921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
22c37d5307
commit
8b494b784d
|
@ -418,7 +418,7 @@ public class StrSubstitutor {
|
|||
*
|
||||
* @param source the buffer to use as a template, not changed, null returns null
|
||||
* @return the result of the replace operation
|
||||
* @since TODO
|
||||
* @since 3.2
|
||||
*/
|
||||
public String replace(CharSequence source) {
|
||||
if (source == null) {
|
||||
|
@ -439,7 +439,7 @@ public class StrSubstitutor {
|
|||
* @param offset the start offset within the array, must be valid
|
||||
* @param length the length within the array to be processed, must be valid
|
||||
* @return the result of the replace operation
|
||||
* @since TODO
|
||||
* @since 3.2
|
||||
*/
|
||||
public String replace(CharSequence source, int offset, int length) {
|
||||
if (source == null) {
|
||||
|
@ -557,7 +557,7 @@ public class StrSubstitutor {
|
|||
*
|
||||
* @param source the buffer to replace in, updated, null returns zero
|
||||
* @return true if altered
|
||||
* @since TODO
|
||||
* @since 3.2
|
||||
*/
|
||||
public boolean replaceIn(StringBuilder source) {
|
||||
if (source == null) {
|
||||
|
@ -578,7 +578,7 @@ public class StrSubstitutor {
|
|||
* @param offset the start offset within the array, must be valid
|
||||
* @param length the length within the buffer to be processed, must be valid
|
||||
* @return true if altered
|
||||
* @since TODO
|
||||
* @since 3.2
|
||||
*/
|
||||
public boolean replaceIn(StringBuilder source, int offset, int length) {
|
||||
if (source == null) {
|
||||
|
|
Loading…
Reference in New Issue