Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 85467 invoked from network); 2 Oct 2009 16:22:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 16:22:04 -0000 Received: (qmail 22893 invoked by uid 500); 2 Oct 2009 16:22:03 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 22868 invoked by uid 500); 2 Oct 2009 16:22:03 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 22859 invoked by uid 99); 2 Oct 2009 16:22:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 16:22:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 16:22:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B9D1D23888D4; Fri, 2 Oct 2009 16:21:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r821078 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java Date: Fri, 02 Oct 2009 16:21:39 -0000 To: commits@harmony.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091002162139.B9D1D23888D4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tellison Date: Fri Oct 2 16:21:39 2009 New Revision: 821078 URL: http://svn.apache.org/viewvc?rev=821078&view=rev Log: Remove unused local vars. Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java?rev=821078&r1=821077&r2=821078&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java (original) +++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLClassLoader.java Fri Oct 2 16:21:39 2009 @@ -1167,7 +1167,7 @@ */ private ArrayList getInternalURLs(URL root, String classpath) { // Class-path attribute is composed of space-separated values. - StringTokenizer tokenizer = new java.util.StringTokenizer(classpath); + StringTokenizer tokenizer = new StringTokenizer(classpath); ArrayList addedURLs = new ArrayList(); String file = root.getFile(); int jarIndex = file.lastIndexOf("!/") - 1; //$NON-NLS-1$ @@ -1177,9 +1177,6 @@ System.getProperty("file.separator"), jarIndex) + 1; //$NON-NLS-1$ } file = file.substring(0, index); - String protocol = root.getProtocol(); - String host = root.getHost(); - int port = root.getPort(); while (tokenizer.hasMoreElements()) { String element = tokenizer.nextToken(); if (!element.equals("")) { //$NON-NLS-1$