mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8301120: Cleanup utility classes java.util.Arrays and java.util.Collections
Reviewed-by: smarks, darcy
This commit is contained in:
parent
b8e5abc1e8
commit
ae0e76d3dd
2 changed files with 22 additions and 28 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
package java.util;
|
||||
|
||||
import jdk.internal.misc.Unsafe;
|
||||
import jdk.internal.util.ArraysSupport;
|
||||
import jdk.internal.vm.annotation.IntrinsicCandidate;
|
||||
|
||||
|
@ -2507,7 +2506,7 @@ public class Arrays {
|
|||
* @param a2 the other array to be tested for equality
|
||||
* @return {@code true} if the two arrays are equal
|
||||
*/
|
||||
public static boolean equals(short[] a, short a2[]) {
|
||||
public static boolean equals(short[] a, short[] a2) {
|
||||
if (a==a2)
|
||||
return true;
|
||||
if (a==null || a2==null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue