This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: java.net/nio - comment fixes


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to trunk. It fixes two comments.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+derNWSOgCCdjSDsRAgNIAKCXLgEujBkAGBmVKjXz2t5eMtPtfwCfTfw2
T0Uaj6VJXuHBWZiQpndQUGs=
=LvIA
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1782
diff -u -r1.1782 ChangeLog
--- ChangeLog	17 Mar 2003 15:21:45 -0000	1.1782
+++ ChangeLog	17 Mar 2003 15:27:54 -0000
@@ -1,5 +1,12 @@
 2003-03-17  Michael Koch  <konqueror at gmx dot de>
 
+	* java/net/DatagramSocket.java
+	(connect): Fixed comment.
+	* java/nio/ByteBuffer.java
+	(hasArray): Fixed comment.
+
+2003-03-17  Michael Koch  <konqueror at gmx dot de>
+
 	* java/beans/Beans.java:
 	Explicitely import classes not packages.
 	* java/beans/FeatureDescriptor.java
Index: java/net/DatagramSocket.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/DatagramSocket.java,v
retrieving revision 1.22
diff -u -r1.22 DatagramSocket.java
--- java/net/DatagramSocket.java	10 Mar 2003 14:48:08 -0000	1.22
+++ java/net/DatagramSocket.java	17 Mar 2003 15:27:54 -0000
@@ -466,7 +466,7 @@
       }
     catch (SocketException e)
       {
-        // This means simply not connected.
+        // This means simply not connected or connect not implemented.
       }
   }
 
Index: java/nio/ByteBuffer.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/ByteBuffer.java,v
retrieving revision 1.8
diff -u -r1.8 ByteBuffer.java
--- java/nio/ByteBuffer.java	11 Mar 2003 10:30:52 -0000	1.8
+++ java/nio/ByteBuffer.java	17 Mar 2003 15:27:54 -0000
@@ -199,7 +199,7 @@
   }
 
   /**
-   * Tells whether or not this buffer is backed by an accessible byte array.
+   * Tells whether or not this buffer is backed by an accessible array.
    */
   public final boolean hasArray ()
   {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]