diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java b/src/main/java/org/apache/commons/lang3/ArrayUtils.java index 32ca5a131..804f7038e 100644 --- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java +++ b/src/main/java/org/apache/commons/lang3/ArrayUtils.java @@ -137,7 +137,7 @@ public class ArrayUtils { /** *
ArrayUtils instances should NOT be constructed in standard programming. - * Instead, the class should be used as {@code ArrayUtils.clone(new int[] {2})}.
+ * Instead, the class should be used asArrayUtils.clone(new int[] {2})
.
*
* This constructor is public to permit tools that require a JavaBean instance * to operate.
@@ -146,6 +146,10 @@ public class ArrayUtils { super(); } + + // N.B. Cannot use {@code} to enclose text which includes {}, but
is OK
+
+
// Basic methods handling multi-dimensional arrays
//-----------------------------------------------------------------------
/**
@@ -154,7 +158,7 @@ public class ArrayUtils {
* Multi-dimensional arrays are handled correctly, including * multi-dimensional primitive arrays.
* - *The format is that of Java source code, for example {@code {a,b}}.
+ *The format is that of Java source code, for example {a,b}
.
Multi-dimensional arrays are handled correctly, including * multi-dimensional primitive arrays.
* - *The format is that of Java source code, for example {@code {a,b}}.
+ *The format is that of Java source code, for example {a,b}
.
Number[] array = ArrayUtils.<Number>toArray(new Integer(42), new Double(Math.PI))
,
* there is no real advantage when compared to
- * {@code new Number[] {new Integer(42), new Double(Math.PI)}}.
+ * new Number[] {new Integer(42), new Double(Math.PI)}
.
*
* @param