mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8274811: Remove superfluous use of boxing in java.base
Reviewed-by: lancea
This commit is contained in:
parent
44fe958c8a
commit
5af7f25814
4 changed files with 11 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -112,7 +112,7 @@ class LinuxFileStore
|
|||
int[] majorMinorMicro = new int[3];
|
||||
int length = Math.min(matches.length, majorMinorMicro.length);
|
||||
for (int i = 0; i < length; i++) {
|
||||
majorMinorMicro[i] = Integer.valueOf(matches[i]);
|
||||
majorMinorMicro[i] = Integer.parseInt(matches[i]);
|
||||
}
|
||||
return majorMinorMicro;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue