Loading core/java/android/net/LinkProperties.java +3 −3 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public class LinkProperties implements Parcelable { } public void addLinkAddress(LinkAddress address) { mLinkAddresses.add(address); if (address != null) mLinkAddresses.add(address); } public Collection<LinkAddress> getLinkAddresses() { Loading @@ -99,7 +99,7 @@ public class LinkProperties implements Parcelable { } public void addDns(InetAddress dns) { mDnses.add(dns); if (dns != null) mDnses.add(dns); } public Collection<InetAddress> getDnses() { Loading @@ -107,7 +107,7 @@ public class LinkProperties implements Parcelable { } public void addGateway(InetAddress gateway) { mGateways.add(gateway); if (gateway != null) mGateways.add(gateway); } public Collection<InetAddress> getGateways() { return Collections.unmodifiableCollection(mGateways); Loading Loading
core/java/android/net/LinkProperties.java +3 −3 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public class LinkProperties implements Parcelable { } public void addLinkAddress(LinkAddress address) { mLinkAddresses.add(address); if (address != null) mLinkAddresses.add(address); } public Collection<LinkAddress> getLinkAddresses() { Loading @@ -99,7 +99,7 @@ public class LinkProperties implements Parcelable { } public void addDns(InetAddress dns) { mDnses.add(dns); if (dns != null) mDnses.add(dns); } public Collection<InetAddress> getDnses() { Loading @@ -107,7 +107,7 @@ public class LinkProperties implements Parcelable { } public void addGateway(InetAddress gateway) { mGateways.add(gateway); if (gateway != null) mGateways.add(gateway); } public Collection<InetAddress> getGateways() { return Collections.unmodifiableCollection(mGateways); Loading