This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: java.net.DatagramPacket
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 26 Nov 2003 11:15:15 +0100
- Subject: FYI: Patch: java.net.DatagramPacket
Hi list,
I commited the attached patch to fix the documentation of the constructors.
Michael
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2359
diff -u -b -B -r1.2359 ChangeLog
--- ChangeLog 25 Nov 2003 18:26:07 -0000 1.2359
+++ ChangeLog 26 Nov 2003 10:08:18 -0000
@@ -1,3 +1,8 @@
+2003-11-26 Michael Koch <konqueror@gmx.de>
+
+ * java/net/DatagramPacket.java
+ (DatagramPacket): Fixed documentation to become legal HTML.
+
2003-11-25 Michael Koch <konqueror@gmx.de>
* gcj/javaprims.h: Added missing java.util.Currency.
Index: java/net/DatagramPacket.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/DatagramPacket.java,v
retrieving revision 1.12
diff -u -b -B -r1.12 DatagramPacket.java
--- java/net/DatagramPacket.java 3 Oct 2002 14:30:48 -0000 1.12
+++ java/net/DatagramPacket.java 26 Nov 2003 10:08:18 -0000
@@ -128,7 +128,7 @@
* receiving packets from the network.
*
* @param buf A buffer for storing the returned packet data
- * @param length The length of the buffer (must be <= buf.length)
+ * @param length The length of the buffer (must be <= buf.length)
*/
public DatagramPacket(byte[] buf, int length)
{
@@ -141,7 +141,7 @@
*
* @param buf A buffer containing the data to send
* @param offset The offset into the buffer to start writing from.
- * @param len The length of the buffer (must be <= buf.length)
+ * @param len The length of the buffer (must be <= buf.length)
* @param addr The address to send to
* @param port The port to send to
*
@@ -176,7 +176,7 @@
* transmitting packets across the network.
*
* @param buf A buffer containing the data to send
- * @param length The length of the buffer (must be <= buf.length)
+ * @param length The length of the buffer (must be <= buf.length)
* @param address The address to send to
* @param port The port to send to
*/
@@ -191,7 +191,7 @@
*
* @param buf A buffer containing the data to send
* @param offset The offset into the buffer to start writing from.
- * @param length The length of the buffer (must be <= buf.length)
+ * @param length The length of the buffer (must be <= buf.length)
* @param address The socket address to send to
*
* @exception SocketException If an error occurs
@@ -212,7 +212,7 @@
* transmitting packets across the network.
*
* @param buf A buffer containing the data to send
- * @param length The length of the buffer (must be <= buf.length)
+ * @param length The length of the buffer (must be <= buf.length)
* @param address The socket address to send to
*
* @exception SocketException If an error occurs