From 85d956d34c9689459f4ffbf5e1dc1f3a4ba84def Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Thu, 23 Oct 2003 20:40:36 +0000 Subject: [PATCH] Fix javadoc of replace method bug 24056, from Russell Dittmar git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137688 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/StringUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/lang/StringUtils.java b/src/java/org/apache/commons/lang/StringUtils.java index c7fbd8fa2..566f12c79 100644 --- a/src/java/org/apache/commons/lang/StringUtils.java +++ b/src/java/org/apache/commons/lang/StringUtils.java @@ -145,7 +145,7 @@ import java.util.List; * @author Gary Gregory * @author Phil Steitz * @since 1.0 - * @version $Id: StringUtils.java,v 1.110 2003/10/21 20:24:22 scolebourne Exp $ + * @version $Id: StringUtils.java,v 1.111 2003/10/23 20:40:36 scolebourne Exp $ */ public class StringUtils { // Performance testing notes (JDK 1.4, Jul03, scolebourne) @@ -2495,7 +2495,7 @@ public class StringUtils { * StringUtils.replace("aba", null, null) = "aba" * StringUtils.replace("aba", null, null) = "aba" * StringUtils.replace("aba", "a", null) = "aba" - * StringUtils.replace("aba", "a", "") = "aba" + * StringUtils.replace("aba", "a", "") = "b" * StringUtils.replace("aba", "a", "z") = "zbz" * *