From 171aaece4f23709d33d180cf36eb3af5e454b0c9 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Thu, 8 Dec 2011 21:15:59 -0500 Subject: Revert "Formatting" This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f. --- .../src/com/netscape/cms/password/PasswordChecker.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pki/base/common/src/com/netscape/cms/password/PasswordChecker.java') diff --git a/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java b/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java index 2bdf40666..4d59f34e2 100644 --- a/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java +++ b/pki/base/common/src/com/netscape/cms/password/PasswordChecker.java @@ -17,15 +17,17 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.cms.password; + import com.netscape.certsrv.apps.CMS; import com.netscape.certsrv.password.EPasswordCheckException; import com.netscape.certsrv.password.IConfigPasswordCheck; import com.netscape.certsrv.password.IPasswordCheck; + /** * This class checks the given password if it meets the specific requirements. - * For example, it can also specify the format of the password which has to be 8 - * characters long and must be in alphanumeric. + * For example, it can also specify the format of the password which has to + * be 8 characters long and must be in alphanumeric. *

* * @version $Revision$, $Date$ @@ -73,10 +75,9 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { /** * Returns true if the given password meets the quality requirement; * otherwise returns false. - * * @param mPassword The given password being checked. * @return true if the password meets the quality requirement; otherwise - * returns false. + * returns false. */ public boolean isGoodPassword(String mPassword) { if (mPassword == null || mPassword.length() == 0) { @@ -95,9 +96,7 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { /** * Returns a reason if the password doesnt meet the quality requirement. - * - * @return string as a reason if the password quality requirement is not - * met. + * @return string as a reason if the password quality requirement is not met. */ public String getReason(String mPassword) { if (mPassword == null || mPassword.length() == 0) { @@ -114,3 +113,4 @@ public class PasswordChecker implements IPasswordCheck, IConfigPasswordCheck { return null; } } + -- cgit