diff options
author | Joakim Erdfelt | 2015-04-15 19:49:04 +0000 |
---|---|---|
committer | Joakim Erdfelt | 2015-04-15 21:38:35 +0000 |
commit | 45b82c32a121909e7b4011e2e301aa14b9b02376 (patch) | |
tree | 3fa05704d640ba2d8da6d9257de1d59a5755e736 /jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java | |
parent | b26552cbb582e6744e3af6f534eb091f4ce65bed (diff) | |
download | org.eclipse.jetty.project-45b82c32a121909e7b4011e2e301aa14b9b02376.tar.gz org.eclipse.jetty.project-45b82c32a121909e7b4011e2e301aa14b9b02376.tar.xz org.eclipse.jetty.project-45b82c32a121909e7b4011e2e301aa14b9b02376.zip |
464727 - Update Javadoc for Java 8 DocLint
+ Fixed jetty-util's javadoc
Diffstat (limited to 'jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java')
-rw-r--r-- | jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java b/jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java index 903b9a4dae..36a8a8a0c7 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/ArrayUtil.java @@ -25,8 +25,8 @@ import java.util.Arrays; import java.util.List; -/* ------------------------------------------------------------ */ /** + * Utility methods for Array manipulation */ public class ArrayUtil implements Cloneable, Serializable @@ -60,6 +60,7 @@ public class ArrayUtil * @param item The item to add * @param type The type of the array (in case of null array) * @return new array with contents of array plus item + * @param <T> the array entry type */ public static<T> T[] addToArray(T[] array, T item, Class<?> type) { @@ -86,6 +87,7 @@ public class ArrayUtil * @param item The item to add * @param type The type of the array (in case of null array) * @return new array with contents of array plus item + * @param <T> the array entry type */ public static<T> T[] prependToArray(T item, T[] array, Class<?> type) { @@ -113,6 +115,7 @@ public class ArrayUtil /** * @param array Any array of object * @return A new <i>modifiable</i> list initialised with the elements from <code>array</code>. + * @param <E> the array entry type */ public static<E> List<E> asMutableList(E[] array) { |