You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by da...@apache.org on 2002/07/30 12:38:36 UTC
cvs commit: jakarta-james/src/java/org/apache/james/security DigestUtil.java
danny 2002/07/30 03:38:35
Modified: src/java/org/apache/mailet MailAddress.java
src/java/org/apache/james/services User.java
UsersRepository.java MailServer.java JamesUser.java
src/java/org/apache/james/userrepository DefaultUser.java
AbstractUsersRepository.java
src/java/org/apache/james/security DigestUtil.java
Log:
changed @returns javadoc tag to @return
Revision Changes Path
1.5 +1 -1 jakarta-james/src/java/org/apache/mailet/MailAddress.java
Index: MailAddress.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/mailet/MailAddress.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MailAddress.java 17 Apr 2002 15:54:51 -0000 1.4
+++ MailAddress.java 30 Jul 2002 10:38:35 -0000 1.5
@@ -207,7 +207,7 @@
* explicit definition, the default hashCode will create different hashcodes
* for separate object instances.
*
- * @returns the hashcode.
+ * @return the hashcode.
* @author Stuart Roebuck <st...@adolos.com>
*/
public int hashCode() {
1.3 +3 -3 jakarta-james/src/java/org/apache/james/services/User.java
Index: User.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/services/User.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- User.java 19 Sep 2001 11:32:36 -0000 1.2
+++ User.java 30 Jul 2002 10:38:35 -0000 1.3
@@ -33,7 +33,7 @@
* password.
*
* @param newPass the String that is the new password.
- * @returns true if newPass successfully added
+ * @return true if newPass successfully added
*/
boolean setPassword(String newPass);
}
1.4 +5 -5 jakarta-james/src/java/org/apache/james/services/UsersRepository.java
Index: UsersRepository.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/services/UsersRepository.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- UsersRepository.java 6 Sep 2001 13:19:32 -0000 1.3
+++ UsersRepository.java 30 Jul 2002 10:38:35 -0000 1.4
@@ -30,7 +30,7 @@
/**
* Adds a user to the repository with the specified User object.
*
- * @returns true if succesful, false otherwise
+ * @return true if succesful, false otherwise
* @since James 1.2.2
*/
boolean addUser(User user);
@@ -75,7 +75,7 @@
* Update the repository with the specified user object. A user object
* with this username must already exist.
*
- * @returns true if successful.
+ * @return true if successful.
*/
boolean updateUser(User user);
@@ -120,7 +120,7 @@
/**
* List users in repository.
*
- * @returns Iterator over a collection of Strings, each being one user in the repository.
+ * @return Iterator over a collection of Strings, each being one user in the repository.
*/
Iterator list();
1.8 +4 -4 jakarta-james/src/java/org/apache/james/services/MailServer.java
Index: MailServer.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/services/MailServer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MailServer.java 18 Jan 2002 02:48:37 -0000 1.7
+++ MailServer.java 30 Jul 2002 10:38:35 -0000 1.8
@@ -79,7 +79,7 @@
* is their (sole) mailbox.
*
* @param sender - the name of the user
- * @returns a reference to an initialised mailbox
+ * @return a reference to an initialised mailbox
*/
MailRepository getUserInbox(String userName);
@@ -90,7 +90,7 @@
* this may only involve adding the user to the UsersStore.
*
* @param sender - the name of the user
- * @returns a reference to an initialised mailbox
+ * @return a reference to an initialised mailbox
*/
boolean addUser(String userName, String password);
1.2 +3 -3 jakarta-james/src/java/org/apache/james/services/JamesUser.java
Index: JamesUser.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/services/JamesUser.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JamesUser.java 11 Jun 2001 09:29:32 -0000 1.1
+++ JamesUser.java 30 Jul 2002 10:38:35 -0000 1.2
@@ -61,7 +61,7 @@
/**
* Set local address to which email should be delivered.
*
- * @returns true if successful
+ * @return true if successful
*/
boolean setAlias(String address);
1.3 +6 -6 jakarta-james/src/java/org/apache/james/userrepository/DefaultUser.java
Index: DefaultUser.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/userrepository/DefaultUser.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DefaultUser.java 18 Jan 2002 02:48:39 -0000 1.2
+++ DefaultUser.java 30 Jul 2002 10:38:35 -0000 1.3
@@ -57,7 +57,7 @@
/**
* Accessor for immutable name
*
- * @returns the String of this users name
+ * @return the String of this users name
*/
public String getUserName() {
return userName;
@@ -67,7 +67,7 @@
* Method to verify passwords.
*
* @param pass the String that is claimed to be the password for this user
- * @returns true if the hash of pass with the current algorithm matches
+ * @return true if the hash of pass with the current algorithm matches
* the stored hash.
*/
public boolean verifyPassword(String pass) {
@@ -84,7 +84,7 @@
* password.
*
* @param newPass the String that is the new password.
- * @returns true if newPass successfuly hashed
+ * @return true if newPass successfuly hashed
*/
public boolean setPassword(String newPass) {
try {
@@ -98,7 +98,7 @@
/**
* Method to access hash of password
*
- * @returns the String of the hashed Password
+ * @return the String of the hashed Password
*/
protected String getHashedPassword() {
return hashedPassword;
1.5 +3 -3 jakarta-james/src/java/org/apache/james/userrepository/AbstractUsersRepository.java
Index: AbstractUsersRepository.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/userrepository/AbstractUsersRepository.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AbstractUsersRepository.java 18 Jan 2002 02:48:39 -0000 1.4
+++ AbstractUsersRepository.java 30 Jul 2002 10:38:35 -0000 1.5
@@ -104,7 +104,7 @@
* Adds a user to the repository with the specified User object.
* Users names must be unique-case-insensitive in the repository.
*
- * @returns true if succesful, false otherwise
+ * @return true if succesful, false otherwise
* @since James 1.2.2
*/
public boolean addUser(User user)
@@ -142,7 +142,7 @@
* Update the repository with the specified user object. A user object
* with this username must already exist.
*
- * @returns true if successful.
+ * @return true if successful.
*/
public boolean updateUser(User user)
{
@@ -274,7 +274,7 @@
/**
* List users in repository.
*
- * @returns Iterator over a collection of Strings, each being one user in the repository.
+ * @return Iterator over a collection of Strings, each being one user in the repository.
*/
public Iterator list()
{
1.3 +3 -3 jakarta-james/src/java/org/apache/james/security/DigestUtil.java
Index: DigestUtil.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/security/DigestUtil.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DigestUtil.java 18 Jan 2002 02:48:37 -0000 1.2
+++ DigestUtil.java 30 Jul 2002 10:38:35 -0000 1.3
@@ -138,7 +138,7 @@
*
* @param pass the String to be hashed
* @param algorithm the algorithm to be used
- * @returns String Base-64 encoding of digest
+ * @return String Base-64 encoding of digest
*/
public static String digestString(String pass, String algorithm )
throws NoSuchAlgorithmException {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>