BindException.java, [...]: Big import statement and @author tag cleanup.

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.

From-SVN: r89168
This commit is contained in:
Michael Koch 2004-10-17 08:29:57 +00:00 committed by Michael Koch
parent 3238d4f99a
commit 05dfb0b0e3
35 changed files with 140 additions and 111 deletions

View file

@ -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
*/
* The password
*/
private char[] password;
/*************************************************************************/
/*
* Constructors
*/
/**
* 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
}