diff options
author | Michael Koch <konqueror@gmx.de> | 2002-09-13 11:39:47 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2002-09-13 11:39:47 +0000 |
commit | 69aeba4ed014799980dc331083b7030c5fa0ba9f (patch) | |
tree | 41affa8438973e7e04452716f303f7abd89a4874 /libjava | |
parent | a1c65f9f4f4673cab2f40a4b02bbb7445edc1b81 (diff) | |
download | gcc-69aeba4ed014799980dc331083b7030c5fa0ba9f.zip gcc-69aeba4ed014799980dc331083b7030c5fa0ba9f.tar.gz gcc-69aeba4ed014799980dc331083b7030c5fa0ba9f.tar.bz2 |
DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.
2002-09-13 Michael Koch <konqueror@gmx.de>
* java/net/DatagramPacket.java (DatagramPacket):
Added linebreak for 80 chars per line.
* java/net/JarURLConection.java
(getInputStream, getJarEntry): Likewise.
* java/net/SocketPermission.java
(SocketPermission class docu, implies): Likewise.
* java/net/URLClassLoader.java (findResources): Likewise.
* java/net/URLConnection.java: Reindendet remark for 80 chars per line
From-SVN: r57105
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 11 | ||||
-rw-r--r-- | libjava/java/net/DatagramPacket.java | 3 | ||||
-rw-r--r-- | libjava/java/net/JarURLConnection.java | 9 | ||||
-rw-r--r-- | libjava/java/net/SocketPermission.java | 6 | ||||
-rw-r--r-- | libjava/java/net/URLClassLoader.java | 3 | ||||
-rw-r--r-- | libjava/java/net/URLConnection.java | 2 |
6 files changed, 26 insertions, 8 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index aa1fc76..78f0f16 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,4 +1,15 @@ 2002-09-13 Michael Koch <konqueror@gmx.de> + + * java/net/DatagramPacket.java (DatagramPacket): + Added linebreak for 80 chars per line. + * java/net/JarURLConection.java + (getInputStream, getJarEntry): Likewise. + * java/net/SocketPermission.java + (SocketPermission class docu, implies): Likewise. + * java/net/URLClassLoader.java (findResources): Likewise. + * java/net/URLConnection.java: Reindendet remark for 80 chars per line + +2002-09-13 Michael Koch <konqueror@gmx.de> * java/nio/channels/DatagramChannel.java, java/nio/channels/ServerSocketChannel.java diff --git a/libjava/java/net/DatagramPacket.java b/libjava/java/net/DatagramPacket.java index 52e3ff2..836f5dd 100644 --- a/libjava/java/net/DatagramPacket.java +++ b/libjava/java/net/DatagramPacket.java @@ -198,7 +198,8 @@ public final class DatagramPacket * * @since 1.4 */ - public DatagramPacket(byte[] buf, int offset, int length, SocketAddress address) + public DatagramPacket(byte[] buf, int offset, int length, + SocketAddress address) throws SocketException { this(buf, offset, length, ((InetSocketAddress)address).getAddress(), diff --git a/libjava/java/net/JarURLConnection.java b/libjava/java/net/JarURLConnection.java index 5ee438d..c5597d6 100644 --- a/libjava/java/net/JarURLConnection.java +++ b/libjava/java/net/JarURLConnection.java @@ -106,7 +106,8 @@ public abstract class JarURLConnection extends URLConnection { // This is a JarURLConnection for the entire jar file. - InputStream jar_is = new BufferedInputStream(jarFileURLConnection.getInputStream ()); + InputStream jar_is = new BufferedInputStream( + jarFileURLConnection.getInputStream ()); return new JarInputStream(jar_is); } @@ -131,7 +132,8 @@ public abstract class JarURLConnection extends URLConnection else { // If the jar file is not local, ... - JarInputStream zis = new JarInputStream(jarFileURLConnection.getInputStream ()); + JarInputStream zis = new JarInputStream( + jarFileURLConnection.getInputStream ()); // This is hideous, we're doing a linear search... for (ZipEntry ent = zis.getNextEntry (); @@ -172,7 +174,8 @@ public abstract class JarURLConnection extends URLConnection if (jarfile == null) { - JarInputStream zis = new JarInputStream(jarFileURLConnection.getInputStream ()); + JarInputStream zis = new JarInputStream( + jarFileURLConnection.getInputStream ()); // This is hideous, we're doing a linear search for the thing... for (ZipEntry ent = zis.getNextEntry (); diff --git a/libjava/java/net/SocketPermission.java b/libjava/java/net/SocketPermission.java index 8aa453e..002a99c 100644 --- a/libjava/java/net/SocketPermission.java +++ b/libjava/java/net/SocketPermission.java @@ -87,7 +87,8 @@ import java.security.PermissionCollection; * SocketPermission("www.urbanophile.com:80", "connect,accept"); * Can connect to or accept connections from www.urbanophile.com on port 80 * SocketPermission("localhost:1024-", "listen,accept,connect"); - * Can connect to, accept from, an listen on any local port number 1024 and up. + * Can connect to, accept from, an listen on any local port number 1024 + * and up. * SocketPermission("*.edu", "connect"); * Can connect to any host in the edu domain * SocketPermission("197.197.20.1", "accept"); @@ -241,7 +242,8 @@ public final class SocketPermission extends Permission * <p><ul> * <li>The argument's hostname or IP address is equal to this object's. * <li>The argument's canonical hostname is equal to this object's. - * <li>The argument's canonical name matches this domains hostname with wildcards + * <li>The argument's canonical name matches this domains hostname with + * wildcards * </ul> * * @param perm The Permission to check against diff --git a/libjava/java/net/URLClassLoader.java b/libjava/java/net/URLClassLoader.java index 3afb8f1..0b66af6 100644 --- a/libjava/java/net/URLClassLoader.java +++ b/libjava/java/net/URLClassLoader.java @@ -165,7 +165,8 @@ public class URLClassLoader extends SecureClassLoader if (conn != null) { if (conn.getJarFile().getJarEntry (name) != null) - results.addElement (new URL(u, name, getHandler0 (u.getProtocol()))); + results.addElement (new URL(u, name, + getHandler0 (u.getProtocol()))); } else { diff --git a/libjava/java/net/URLConnection.java b/libjava/java/net/URLConnection.java index f11f1b8..548479d 100644 --- a/libjava/java/net/URLConnection.java +++ b/libjava/java/net/URLConnection.java @@ -32,7 +32,7 @@ import gnu.gcj.io.MimeTypes; * Written using on-line Java Platform 1.2 API Specification, as well * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). * Status: One guessContentTypeFrom... methods not implemented. - * getContent method assumes content type from response; see comment there. + * getContent method assumes content type from response; see comment there. */ public abstract class URLConnection |