summaryrefslogtreecommitdiff
path: root/libjava/java/net/DatagramSocket.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-25 11:40:19 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-05-25 11:40:19 +0000
commitc7684ffe55c75b893fe40988dbb8fcea9beae3ba (patch)
tree88ef0760e764ef489e276334b8e20f71e9f96390 /libjava/java/net/DatagramSocket.java
parenteceea3010ff9d19a48d650e5dccb7105d66adbd2 (diff)
PushbackInputStream.java, [...]: Merged new versions from classpath.
2003-05-25 Michael Koch <konqueror@gmx.de> * java/io/PushbackInputStream.java, java/net/Authenticator.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/URLStreamHandlerFactory.java: Merged new versions from classpath. From-SVN: r67165
Diffstat (limited to 'libjava/java/net/DatagramSocket.java')
-rw-r--r--libjava/java/net/DatagramSocket.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/libjava/java/net/DatagramSocket.java b/libjava/java/net/DatagramSocket.java
index 45c15fdb6e0..d300f20df92 100644
--- a/libjava/java/net/DatagramSocket.java
+++ b/libjava/java/net/DatagramSocket.java
@@ -1,5 +1,5 @@
/* DatagramSocket.java -- A class to model UDP sockets
- Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -94,9 +94,11 @@ public class DatagramSocket
private boolean closed = false;
/**
- * Creates a DatagramSocket from a specified DatagramSocketImpl instance
+ * Creates a <code>DatagramSocket</code> from a specified
+ * <code>DatagramSocketImpl</code> instance
*
- * @param impl The DatagramSocketImpl the socket will be created from
+ * @param impl The <code>DatagramSocketImpl</code> the socket will be
+ * created from
*
* @since 1.4
*/
@@ -113,7 +115,7 @@ public class DatagramSocket
*
* @exception SocketException If an error occurs.
* @exception SecurityException If a security manager exists and
- * its checkListen method doesn't allow the operation.
+ * its <code>checkListen</code> method doesn't allow the operation.
*/
public DatagramSocket() throws SocketException
{
@@ -127,7 +129,7 @@ public class DatagramSocket
* @param port The local port number to bind to.
*
* @exception SecurityException If a security manager exists and its
- * checkListen method doesn't allow the operation.
+ * <code>checkListen</code> method doesn't allow the operation.
* @exception SocketException If an error occurs.
*/
public DatagramSocket(int port) throws SocketException
@@ -190,7 +192,7 @@ public class DatagramSocket
* @param laddr The local address to bind to.
*
* @exception SecurityException If a security manager exists and its
- * checkListen method doesn't allow the operation.
+ * <code>checkListen</code> method doesn't allow the operation.
* @exception SocketException If an error occurs.
*
* @since 1.4