summaryrefslogtreecommitdiffstats
path: root/libjava/java/net/PasswordAuthentication.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-17 08:29:57 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-17 08:29:57 +0000
commitd603d8be1c82455fa6b0d63655eb1346c74d8d93 (patch)
tree1bd6ec137f044fdc5e7e974db97a9cb9befa6879 /libjava/java/net/PasswordAuthentication.java
parent4c51197cd0fe61cf9c86eeb0f6c2d435ba251b92 (diff)
downloadppe42-gcc-d603d8be1c82455fa6b0d63655eb1346c74d8d93.tar.gz
ppe42-gcc-d603d8be1c82455fa6b0d63655eb1346c74d8d93.zip
2004-10-17 Michael Koch <konqueror@gmx.de>
* 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/MalformedURLException.java, java/net/MulticastSocket.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/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/URLDecoder.java, java/net/URLEncoder.java, java/net/URLStreamHandler.java, java/net/URLStreamHandlerFactory.java, java/net/UnknownHostException.java, java/net/UnknownServiceException.java: Big import statement and @author tag cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89168 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/PasswordAuthentication.java')
-rw-r--r--libjava/java/net/PasswordAuthentication.java69
1 files changed, 27 insertions, 42 deletions
diff --git a/libjava/java/net/PasswordAuthentication.java b/libjava/java/net/PasswordAuthentication.java
index 910803a8f3a..671783d845c 100644
--- a/libjava/java/net/PasswordAuthentication.java
+++ b/libjava/java/net/PasswordAuthentication.java
@@ -39,69 +39,54 @@ package java.net;
/**
- * This class serves a container for username/password pairs.
- *
- * @author Aaron M. Renn (arenn@urbanophile.com)
- * @since 1.2
- */
+ * This class serves a container for username/password pairs.
+ *
+ * @author Aaron M. Renn (arenn@urbanophile.com)
+ *
+ * @since 1.2
+ */
public final class PasswordAuthentication
{
- /*
- * Instance Variables
- */
-
/**
- * The username
- */
+ * The username
+ */
private String username;
/**
- * The password
- */
- private char[] password;
-
- /*************************************************************************/
-
- /*
- * Constructors
+ * The password
*/
+ private char[] password;
/**
- * Creates a new <code>PasswordAuthentication</code> object from the
- * specified username and password.
- *
- * @param username The username for this object
- * @param password The password for this object
- */
+ * Creates a new <code>PasswordAuthentication</code> object from the
+ * specified username and password.
+ *
+ * @param username The username for this object
+ * @param password The password for this object
+ */
public PasswordAuthentication(String username, char[] password)
{
this.username = username;
this.password = password;
}
- /*************************************************************************/
-
- /*
- * Instance Methods
- */
-
/**
- * Returns the username associated with this object
- *
- * @return The username
- */
+ * Returns the username associated with this object
+ *
+ * @return The username
+ */
public String getUserName()
{
- return (username);
+ return username;
}
/**
- * Returns the password associated with this object
- *
- * @return The password
- */
+ * Returns the password associated with this object
+ *
+ * @return The password
+ */
public char[] getPassword()
{
- return (password);
+ return password;
}
-} // class PasswordAuthentication
+}
OpenPOWER on IntegriCloud