You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2007/10/23 07:31:59 UTC

svn commit: r587395 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java

Author: bayard
Date: Mon Oct 22 22:31:58 2007
New Revision: 587395

URL: http://svn.apache.org/viewvc?rev=587395&view=rev
Log:
Applying Corey Tripp's javadoc fix from LANG-361

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java?rev=587395&r1=587394&r2=587395&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java Mon Oct 22 22:31:58 2007
@@ -594,7 +594,10 @@
      * @param nullString  the String to match for <code>null</code>
      *  (case sensitive), may be <code>null</code>
      * @return the Boolean value of the string,
-     *  <code>null</code> if no match or <code>null</code> input
+     *  <code>null</code> if either the String matches <code>nullString</code>
+     *  or if <code>null</code> input and <code>nullString</code> is
+     *  <code>null</code>
+     * @throws IllegalArgumentException if the String doesn't match
      */
     public static Boolean toBooleanObject(String str, String trueString, String falseString, String nullString) {
         if (str == null) {