scolebourne 2003/10/23 13:49:22
Modified: lang/src/java/org/apache/commons/lang StringUtils.java
Log:
Javadoc of method contains
bug 23430, from Michael Heuer
Revision Changes Path
1.112 +3 -3
jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java
Index: StringUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- StringUtils.java 23 Oct 2003 20:40:36 -0000 1.111
+++ StringUtils.java 23 Oct 2003 20:49:22 -0000 1.112
@@ -1059,7 +1059,7 @@
}
/**
- * <p>Find the first index within a String, handling <code>null</code>.
+ * <p>Checks if String contains a search String, handling <code>null</code>.
* This method uses [EMAIL PROTECTED] String#indexOf(int)}.</p>
*
* <p>A <code>null</code> String will return <code>false</code>.</p>
@@ -1075,7 +1075,7 @@
*
* @param str the String to check, may be null
* @param searchStr the String to find, may be null
- * @return true if the String contains the search character,
+ * @return true if the String contains the search String,
* false if not or <code>null</code> string input
* @since 2.0
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]