mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package.
* Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package. * Makefile.in: Rebuilt. * gnu/gcj/protocol/file/Connection.java: New file. * gnu/gcj/protocol/file/Handler.java: New file. * gnu/gcj/protocol/http/Connection.java (getInputStream): Check if doInput allows input. (getOutputStream): Check if doOutput allows output. * java/net/URLStreamHandler.java (parseURL): Fix indentation. From-SVN: r26479
This commit is contained in:
@@ -26,7 +26,7 @@ public abstract class URLStreamHandler
|
||||
protected abstract URLConnection openConnection(URL u)
|
||||
throws java.io.IOException;
|
||||
|
||||
protected void parseURL(URL u, String spec, int start, int limit)
|
||||
protected void parseURL(URL u, String spec, int start, int limit)
|
||||
{
|
||||
String tmpStr;
|
||||
String host = ""; // Initialize to null string.
|
||||
|
||||
Reference in New Issue
Block a user