diff --git a/core/java/android/net/RouteInfo.java b/core/java/android/net/RouteInfo.java index 9a3fcb0974..3a7abc01a8 100644 --- a/core/java/android/net/RouteInfo.java +++ b/core/java/android/net/RouteInfo.java @@ -64,13 +64,13 @@ public class RouteInfo implements Parcelable { /** * Constructs a RouteInfo object. * - * If @destination is null, then @gateway must be specified and the + * If destination is null, then gateway must be specified and the * constructed route is either the IPv4 default route 0.0.0.0 * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default - * route ::/0 if @gateway is an instance of + * route ::/0 if gateway is an instance of * {@link Inet6Address}. * - * @destination and @gateway may not both be null. + * destination and gateway may not both be null. * * @param destination the destination prefix * @param gateway the IP address to route packets through