aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/NetPermission.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2004-04-20 13:05:10 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-04-20 13:05:10 +0000
commitf6d49f66ec0e0a59285d304720cc3bfa18f28141 (patch)
tree61e0c356000f77339048c144863ae045f79523eb /libjava/java/net/NetPermission.java
parentcf6f7d55897e0c6b1badbcfc241e512a4bb154b8 (diff)
downloadgcc-f6d49f66ec0e0a59285d304720cc3bfa18f28141.zip
gcc-f6d49f66ec0e0a59285d304720cc3bfa18f28141.tar.gz
gcc-f6d49f66ec0e0a59285d304720cc3bfa18f28141.tar.bz2
Authenticator.java, [...]: Fixed javadocs, coding style and argument names all over.
2004-04-20 Michael Koch <konqueror@gmx.de> * java/net/Authenticator.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramPacket.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/HttpURLConnection.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/net/InetAddress.java, java/net/InetSocketAddress.java, java/net/JarURLConnection.java, java/net/MalformedURLException.java, java/net/MulticastSocket.java, java/net/NetPermission.java, java/net/NetworkInterface.java, java/net/NoRouteToHostException.java, java/net/PasswordAuthentication.java, java/net/PortUnreachableException.java, java/net/ProtocolException.java, java/net/ServerSocket.java, java/net/Socket.java, java/net/SocketAddress.java, java/net/SocketException.java, java/net/SocketImpl.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/SocketPermission.java, java/net/SocketTimeoutException.java, java/net/URI.java, java/net/URISyntaxException.java, java/net/URL.java, java/net/URLClassLoader.java, java/net/URLConnection.java, java/net/URLDecoder.java, java/net/URLEncoder.java, java/net/URLStreamHandler.java, java/net/URLStreamHandlerFactory.java, java/net/UnknownHostException.java, java/net/UnknownServiceException.java: Fixed javadocs, coding style and argument names all over. From-SVN: r80900
Diffstat (limited to 'libjava/java/net/NetPermission.java')
-rw-r--r--libjava/java/net/NetPermission.java23
1 files changed, 12 insertions, 11 deletions
diff --git a/libjava/java/net/NetPermission.java b/libjava/java/net/NetPermission.java
index 6b796be..38a15c4 100644
--- a/libjava/java/net/NetPermission.java
+++ b/libjava/java/net/NetPermission.java
@@ -39,22 +39,23 @@ package java.net;
import java.security.BasicPermission;
+
/**
* This class is used to model miscellaneous network permissions. It is
- * a subclass of <code>BasicPermission</code>. This means that it models a
- * "boolean" permission. One that you either have or do not have. Thus
- * there is no permitted action list associated with this object.
+ * a subclass of <code>BasicPermission</code>. This means that it models a
+ * "boolean" permission. One that you either have or do not have. Thus
+ * there is no permitted action list associated with this object.
*
* The following permission names are defined for this class:
- *
+ *
* <ul>
* <li>setDefaultAuthenticator - Grants the ability to install a facility
- * to collect username and password information when requested by a
- * web site or proxy server.
+ * to collect username and password information when requested by a
+ * web site or proxy server.</li>
* <li>requestPasswordAuthentication - Grants the ability to ask the
- * authentication facility for the user's password.
- * <li>specifyStreamHandler - Grants the permission to specify the
- * stream handler class used when loading from a URL.
+ * authentication facility for the user's password.</li>
+ * <li>specifyStreamHandler - Grants the permission to specify the
+ * stream handler class used when loading from a URL.</li>
* </ul>
*
* @author Aaron M. Renn (arenn@urbanophile.com)
@@ -75,8 +76,8 @@ public final class NetPermission extends BasicPermission
}
/**
- * Initializes a new instance of <code>NetPermission</code> with the
- * specified name and perms. Note that the perms field is irrelevant and is
+ * Initializes a new instance of <code>NetPermission</code> with the
+ * specified name and perms. Note that the perms field is irrelevant and is
* ignored. This constructor should never need to be used.
*
* @param name The name of this permission