@@ -808,8 +808,8 @@ public static <T> T[] add(final T[] array, final int index, final T element) {
808808 * The returned array type will be that of the input array (unless null),
809809 * in which case it will have the same type as the element.
810810 * If both are null, an IllegalArgumentException is thrown
811- * @since 2.1
812811 * @throws IllegalArgumentException if both arguments are null
812+ * @since 2.1
813813 */
814814 public static <T > T [] add (final T [] array , final T element ) {
815815 final Class <?> type ;
@@ -1106,8 +1106,8 @@ public static short[] addAll(final short[] array1, final short... array2) {
11061106 * @return The new array, {@code null} if both arrays are {@code null}.
11071107 * The type of the new array is the type of the first array,
11081108 * unless the first array is null, in which case the type is the same as the second array.
1109- * @since 2.1
11101109 * @throws IllegalArgumentException if the array types are incompatible
1110+ * @since 2.1
11111111 */
11121112 public static <T > T [] addAll (final T [] array1 , @ SuppressWarnings ("unchecked" ) final T ... array2 ) {
11131113 if (array1 == null ) {
@@ -1367,8 +1367,8 @@ public static short[] addFirst(final short[] array, final short element) {
13671367 * @return A new array containing the existing elements plus the new element The returned array type will be that of
13681368 * the input array (unless null), in which case it will have the same type as the element. If both are null,
13691369 * an IllegalArgumentException is thrown
1370- * @since 3.10
13711370 * @throws IllegalArgumentException if both arguments are null
1371+ * @since 3.10
13721372 */
13731373 public static <T > T [] addFirst (final T [] array , final T element ) {
13741374 return array == null ? add (array , element ) : insert (0 , array , element );
0 commit comments