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

Commit 9c1b8af7 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Make IpPrefix final."

parents 5da5e7a4 0cbe94a3
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ import java.util.Arrays;
 *
 * Objects of this class are immutable.
 */
public class IpPrefix implements Parcelable {
public final class IpPrefix implements Parcelable {
    private final byte[] address;  // network byte order
    private final int prefixLength;

@@ -139,7 +139,6 @@ public class IpPrefix implements Parcelable {

    /**
     * Implement the Parcelable interface.
     * @hide
     */
    public int describeContents() {
        return 0;
@@ -147,7 +146,6 @@ public class IpPrefix implements Parcelable {

    /**
     * Implement the Parcelable interface.
     * @hide
     */
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeByteArray(address);
@@ -156,7 +154,6 @@ public class IpPrefix implements Parcelable {

    /**
     * Implement the Parcelable interface.
     * @hide
     */
    public static final Creator<IpPrefix> CREATOR =
            new Creator<IpPrefix>() {