am 9c6d406e: Fix build breakage.
* commit '9c6d406eb7ab0fce40fb7cd1257714a29d06774c': Fix build breakage.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user