From 56e4e58eaeb3b5be3dcd0f4c4d6e4035fd910a07 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Thu, 22 May 2014 11:51:27 -0700 Subject: [PATCH] Fix Ethernet documentation. 1. Remove incorrect @return tag for void function. 2. Fix build breakage by removing the reference to #ETHERNET_SERVICE, which is hidden. Change-Id: Ia893464bafc8257e48e0bd710d27954b535fcece --- core/java/android/net/EthernetManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/java/android/net/EthernetManager.java b/core/java/android/net/EthernetManager.java index 70cc708b94..5df4bafc46 100644 --- a/core/java/android/net/EthernetManager.java +++ b/core/java/android/net/EthernetManager.java @@ -47,7 +47,7 @@ public class EthernetManager { } /** - * Get Ethernet configuration + * Get Ethernet configuration. * @return the Ethernet Configuration, contained in {@link IpConfiguration}. */ public IpConfiguration getConfiguration() { @@ -61,8 +61,7 @@ public class EthernetManager { } /** - * Set Ethernet configuration - * @return true if setting success + * Set Ethernet configuration. */ public void setConfiguration(IpConfiguration config) { try {