diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-04-21 14:18:49 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-04-21 14:18:49 +0000 |
commit | ab8d774e06cbd09db41875015d4fb68ce1a65c96 (patch) | |
tree | bf186277390d33e5dba71c8a5866548a74845a4e /libjava/gnu | |
parent | 8493cfcb764ea9757b8644c25e9747742fd2dce6 (diff) | |
download | gcc-ab8d774e06cbd09db41875015d4fb68ce1a65c96.zip gcc-ab8d774e06cbd09db41875015d4fb68ce1a65c96.tar.gz gcc-ab8d774e06cbd09db41875015d4fb68ce1a65c96.tar.bz2 |
Handler.java (openConnection): Use `setURL', not `url.set'.
* gnu/gcj/protocol/file/Handler.java (openConnection): Use
`setURL', not `url.set'.
From-SVN: r33306
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/gcj/protocol/file/Handler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/gcj/protocol/file/Handler.java b/libjava/gnu/gcj/protocol/file/Handler.java index 285880d..b12ebd4 100644 --- a/libjava/gnu/gcj/protocol/file/Handler.java +++ b/libjava/gnu/gcj/protocol/file/Handler.java @@ -1,6 +1,6 @@ // Handler.java - URLStreamHandler for file protocol. -/* Copyright (C) 1999 Free Software Foundation +/* Copyright (C) 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -37,7 +37,7 @@ public class Handler extends URLStreamHandler // Reset the protocol (and implicitly the handler) for this URL. // Then have the URL attempt the connection again, as it will // get the changed handler the next time around. - url.set("ftp", url.getHost(), url.getPort(), url.getFile(), + setURL (url, "ftp", url.getHost(), url.getPort(), url.getFile(), url.getRef()); // Until the ftp protocol handler is written, this will cause // a NullPointerException. |