diff options
| author | Michael Koch <konqueror@gmx.de> | 2004-01-06 10:07:59 +0000 |
|---|---|---|
| committer | Michael Koch <konqueror@gmx.de> | 2004-01-06 10:07:59 +0000 |
| commit | 2d75386387485d3299283c2b94a5f8e13dd0e12f (patch) | |
| tree | 6e4854b58cce36fcc4fd4c98642aa11805ca57a2 /gnu/java/net/protocol/file | |
| parent | 57027321b85a70c38416b58fb061fb0bbf0e469c (diff) | |
| download | classpath-2d75386387485d3299283c2b94a5f8e13dd0e12f.tar.gz | |
2004-01-06 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Connection.java
(Connection): Don't re-initialize doOutput with the default value.
* java/net/JarURLConnection.java
(JarURLConnection): Initialize entryName with null if no entry
present, fixed off by one error.
* java/net/URLConnection.java: Reformating.
(getHeaderFields): Return empty map.
(getPermission): Don't use package in class name.
Diffstat (limited to 'gnu/java/net/protocol/file')
| -rw-r--r-- | gnu/java/net/protocol/file/Connection.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/java/net/protocol/file/Connection.java b/gnu/java/net/protocol/file/Connection.java index 5961b110f..f448b2878 100644 --- a/gnu/java/net/protocol/file/Connection.java +++ b/gnu/java/net/protocol/file/Connection.java @@ -85,7 +85,7 @@ public class Connection extends URLConnection * OutputStream if we are writing to the file */ private OutputStream outputStream; - + /** * FilePermission to read the file */ @@ -97,9 +97,6 @@ public class Connection extends URLConnection public Connection(URL url) { super (url); - - /* Set up some variables */ - doOutput = false; permission = new FilePermission(getURL().getFile(), DEFAULT_PERMISSION); } @@ -316,5 +313,4 @@ public class Connection extends URLConnection } }; } - -} // class FileURLConnection +} |
