From d603d8be1c82455fa6b0d63655eb1346c74d8d93 Mon Sep 17 00:00:00 2001 From: mkoch Date: Sun, 17 Oct 2004 08:29:57 +0000 Subject: 2004-10-17 Michael Koch * 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 --- libjava/java/net/PasswordAuthentication.java | 69 +++++++++++----------------- 1 file changed, 27 insertions(+), 42 deletions(-) (limited to 'libjava/java/net/PasswordAuthentication.java') 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 PasswordAuthentication object from the - * specified username and password. - * - * @param username The username for this object - * @param password The password for this object - */ + * Creates a new PasswordAuthentication 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 +} -- cgit v1.2.1