Patch: java.net - url stuff cleanup

Michael Koch konqueror@gmx.de
Fri Apr 23 07:58:00 GMT 2004


Hi list,


I just commited the attached patch to clean up URL stuff in java.net a 
little bit.


Michael


2004-04-23  Michael Koch  <konqueror@gmx.de>

	* java/net/URL.java
	(hashcode): Don't initialize with default value explicitely.
	(getContent): Removed redundant "final" keyword.
	(openStream): Likewise.
	(getURLStreamHandler): Fixed coding style.
	* java/net/URLConnection.java
	(defaultAllowUserInteraction): Don't initialize with default value
	explicitely.
	(connected): Likewise.
	(doOutput): Likewise.
	(ifModifiedSince): Likewise.
	(dateformats_initialized): Likewise.
	(setURLStreamHander): Use StreamTokenizer where it belongs to.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: net.diff
Type: text/x-diff
Size: 4683 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040423/a193ae6c/attachment.bin>


More information about the Java-patches mailing list