URLStreamHandler.java (toExternalForm): Removed unused variables.
authorTom Tromey <tromey@redhat.com>
Wed, 5 May 2004 08:51:04 +0000 (08:51 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Wed, 5 May 2004 08:51:04 +0000 (08:51 +0000)
2004-05-03  Tom Tromey  <tromey@redhat.com>

* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.

From-SVN: r81516

libjava/java/net/URLStreamHandler.java

index 509e7f415866820bf10eb2b5c46e2cb51ea37550..d224ff556e950e58da8db99578e76f12dc9e830d 100644 (file)
@@ -502,12 +502,9 @@ public abstract class URLStreamHandler
   protected String toExternalForm(URL url)
   {
     String protocol;
-    String host;
     String file;
     String ref;
-    String user;
     String authority;
-    int port;
 
     protocol = url.getProtocol();
     authority = url.getAuthority();