Author: britter
Date: Fri Mar 28 10:04:33 2014
New Revision: 1582667
URL: http://svn.apache.org/r1582667
Log:
Fix JavaDoc problems in ClassUtils
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java?rev=1582667&r1=1582666&r2=1582667&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
Fri Mar 28 10:04:33 2014
@@ -468,7 +468,7 @@ public class ClassUtils {
* <p><strong>Since Lang 3.0,</strong> this method will default behavior
for
* calculating assignability between primitive and wrapper types
<em>corresponding
* to the running Java version</em>; i.e. autoboxing will be the default
- * behavior in VMs running Java versions >= 1.5.</p>
+ * behavior in VMs running Java versions > 1.5.</p>
*
* @param classArray the array of Classes to check, may be {@code null}
* @param toClassArray the array of Classes to try to assign into, may be
{@code null}
@@ -584,7 +584,7 @@ public class ClassUtils {
* <p><strong>Since Lang 3.0,</strong> this method will default behavior
for
* calculating assignability between primitive and wrapper types
<em>corresponding
* to the running Java version</em>; i.e. autoboxing will be the default
- * behavior in VMs running Java versions >= 1.5.</p>
+ * behavior in VMs running Java versions > 1.5.</p>
*
* @param cls the Class to check, may be null
* @param toClass the Class to try to assign into, returns false if null
@@ -901,12 +901,13 @@ public class ClassUtils {
* it ensures that the returned Method is from a public class or interface
and not
* from an anonymous inner class. This means that the Method is invokable
and
* doesn't fall foul of Java bug
- * <a
href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957">4071957</a>).
+ * <a
href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957">4071957</a>).</p>
*
- * <code><pre>Set set = Collections.unmodifiableSet(...);
+ * <pre>
+ * <code>Set set = Collections.unmodifiableSet(...);
* Method method = ClassUtils.getPublicMethod(set.getClass(), "isEmpty",
new Class[0]);
- * Object result = method.invoke(set, new Object[]);</pre></code>
- * </p>
+ * Object result = method.invoke(set, new Object[]);</code>
+ * </pre>
*
* @param cls the class to check, not null
* @param methodName the name of the method