a[I] 改为 a[i]

This commit is contained in:
xiaoleeza 2019-08-30 10:34:30 +08:00 committed by GitHub
parent 2c052cec8f
commit f93ea70d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ static List<Integer> intArrayAsList(int[] a) {
@Override
public Integer set(int i, Integer val) {
int oldVal = a[I];
int oldVal = a[i];
a[i] = val; // Auto-unboxing
return oldVal; // Autoboxing
}