Author: britter
Date: Wed Jul 9 19:34:57 2014
New Revision: 1609277
URL: http://svn.apache.org/r1609277
Log:
Tiddy up JavaDoc
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java?rev=1609277&r1=1609276&r2=1609277&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
Wed Jul 9 19:34:57 2014
@@ -1468,19 +1468,20 @@ public class NumberUtils {
}
/**
- * <p>Checks whether the String is a parseable number.</p>
+ * <p>Checks whether the given String is a parsable number.</p>
*
- * <p>Parseable numbers include those Strings understood by
<code>Integer.parseInt(String)</code>,
- * <code>Long.parseLong(String)</code>,
<code>Float.parseFloat(String)</code> or
- * <code>Double.parseDouble(String)</code>.</p>
+ * <p>Parsable numbers include those Strings understood by {@link
Integer#parseInt(String)},
+ * {@link Long#parseLong(String)}, {@link Float#parseFloat(String)} or
+ * {@link Double#parseDouble(String)}. This method can be used instead of
catching {@link java.text.ParseException}
+ * when calling one of those methods.</p>
*
- * <p>Hexadecimal and scientific notations are <strong>not</strong>
considered parseable.
+ * <p>Hexadecimal and scientific notations are <strong>not</strong>
considered parsable.
* See {@link #isNumber(String)} on those cases.</p>
*
- * <p><code>Null</code> and empty String will return
<code>false</code>.</p>
+ * <p>{@code Null} and empty String will return <code>false</code>.</p>
*
- * @param str the <code>String</code> to check.
- * @return <code>true</code> if the string is a parseable number.
+ * @param str the String to check.
+ * @return {@code true} if the string is a parsable number.
* @since 3.4
*/
public static boolean isParsable(final String str) {