Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 34985 invoked from network); 17 Aug 2006 08:48:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 08:48:20 -0000 Received: (qmail 71801 invoked by uid 500); 17 Aug 2006 08:48:19 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 71774 invoked by uid 500); 17 Aug 2006 08:48:19 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 71762 invoked by uid 99); 17 Aug 2006 08:48:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 01:48:19 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 01:48:18 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 7B9C81A981D; Thu, 17 Aug 2006 01:47:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r432181 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java Date: Thu, 17 Aug 2006 08:47:57 -0000 To: harmony-commits@incubator.apache.org From: pyang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060817084758.7B9C81A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: pyang Date: Thu Aug 17 01:47:57 2006 New Revision: 432181 URL: http://svn.apache.org/viewvc?rev=432181&view=rev Log: Patch applied for HARMONY-1206 ([classlib][luni] Remove a never used variable "sameAsNetworkInterface1" in tests.api.java.net.MulticastSocketTest.) Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java?rev=432181&r1=432180&r2=432181&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/net/MulticastSocketTest.java Thu Aug 17 01:47:57 2006 @@ -47,8 +47,6 @@ private NetworkInterface networkInterface1 = null; - private NetworkInterface sameAsNetworkInterface1 = null; - private NetworkInterface networkInterface2 = null; private NetworkInterface IPV6networkInterface1 = null; @@ -1115,15 +1113,7 @@ } } - Enumeration addresses = networkInterface1.getInetAddresses(); - if (addresses != null) { - try { - sameAsNetworkInterface1 = NetworkInterface - .getByInetAddress((InetAddress) addresses - .nextElement()); - } catch (SocketException e) { - } - } + Enumeration addresses; // first the first interface that supports IPV6 if one exists try {