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

Commit 8d6d3a53 authored by Ján Sebechlebský's avatar Ján Sebechlebský Committed by Android (Google) Code Review
Browse files

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

parents bc76b268 bdf5fa34
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);
    }

    /**