Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87b92a8e authored by Ján Sebechlebský's avatar Ján Sebechlebský Committed by Automerger Merge Worker
Browse files

Merge "Do not preallocate memory in default constructor of {Int,Long}Array"...

Merge "Do not preallocate memory in default constructor of {Int,Long}Array" into udc-dev am: 8d6d3a53

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22675141



Change-Id: I485742469fba22a4af226dfc2aa8f856c81b2d44
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents df20ddc4 8d6d3a53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ public class IntArray implements Cloneable {
     * Creates an empty IntArray with the default initial capacity.
     */
    public IntArray() {
        this(10);
        this(0);
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ public class LongArray implements Cloneable {
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    public LongArray() {
        this(10);
        this(0);
    }

    /**