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

Commit 910ad640 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

Fix "Clone" call

The function name is "clone", not "Clone".

Also, add @Override so errors like this can be detected at
compile time.

Change-Id: Iaf5ec35cdfcd49dec786f14a72c1ebe42aa6bf05
parent b8701312
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -94,7 +94,8 @@ class AdapterProperties {
            mBondedDevices.clear();
    }

    public Object Clone() throws CloneNotSupportedException {
    @Override
    public Object clone() throws CloneNotSupportedException {
        throw new CloneNotSupportedException();
    }

+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ final class JniCallbacks {
        mBondStateMachine = null;
    }

    public Object Clone() throws CloneNotSupportedException {
    @Override
    public Object clone() throws CloneNotSupportedException {
        throw new CloneNotSupportedException();
    }

+2 −1
Original line number Diff line number Diff line
@@ -77,7 +77,8 @@ final class RemoteDevices {
            mDevices.clear();
    }

    public Object Clone() throws CloneNotSupportedException {
    @Override
    public Object clone() throws CloneNotSupportedException {
        throw new CloneNotSupportedException();
    }