DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.
authorMichael Koch <konqueror@gmx.de>
Fri, 13 Sep 2002 11:39:47 +0000 (11:39 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Fri, 13 Sep 2002 11:39:47 +0000 (11:39 +0000)
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

libjava/ChangeLog
libjava/java/net/DatagramPacket.java
libjava/java/net/JarURLConnection.java
libjava/java/net/SocketPermission.java
libjava/java/net/URLClassLoader.java
libjava/java/net/URLConnection.java

index aa1fc7680925d0bf9684ff5a898d8ce201bb1237..78f0f1611863d7f01f3eb15a4c7a260886fe75ca 100644 (file)
@@ -1,3 +1,14 @@
+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,
index 52e3ff2b3772a0a26a5d9622255b01f2180f0623..836f5dd66b8e88596558078ea972aa692a86d262 100644 (file)
@@ -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(),
index 5ee438dd5152ffad0d2d799dc302126749caa97d..c5597d636dfe935611f3a8383f8438affd5cd490 100644 (file)
@@ -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 (); 
index 8aa453e5f17c6ca1d5ce5679bebaf5a805848bff..002a99c15cf77ca03002f1d50ab9613e442c9b8e 100644 (file)
@@ -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
index 3afb8f1861ccc981c25edff66f557c6957fffad7..0b66af6c2ba0001aa7c419c48bcfabd632860b07 100644 (file)
@@ -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
            {
index f11f1b8118f7034fa671b794fd43cceb58d24d88..548479d635dfffee317dc912dd3f20d8e5949fe7 100644 (file)
@@ -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