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

Commit 13066999 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Fix build breakage.

Change-Id: Ideb32704ce5dc37ef36b05609f88da2aa55b3a00
parent 9468ddee
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -71,13 +71,15 @@ public class RouteInfoTest extends TestCase {
    }

    public void testMatches() {
        class PatchedRouteInfo extends RouteInfo {
        class PatchedRouteInfo {
            private final RouteInfo mRouteInfo;

            public PatchedRouteInfo(LinkAddress destination, InetAddress gateway, String iface) {
                super(destination, gateway, iface);
                mRouteInfo = new RouteInfo(destination, gateway, iface);
            }

            public boolean matches(InetAddress destination) {
                return super.matches(destination);
                return mRouteInfo.matches(destination);
            }
        }