From 1a37d6047e0db50d6809f716fc3035af1cb603fa Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 7 Dec 2011 11:02:06 -0500 Subject: Removal of unused private methods These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303 Conflicts: pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java --- .../src/com/netscape/cmstools/PasswordCache.java | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'pki/base/java-tools/src') diff --git a/pki/base/java-tools/src/com/netscape/cmstools/PasswordCache.java b/pki/base/java-tools/src/com/netscape/cmstools/PasswordCache.java index f914fab74..cd0351ae4 100644 --- a/pki/base/java-tools/src/com/netscape/cmstools/PasswordCache.java +++ b/pki/base/java-tools/src/com/netscape/cmstools/PasswordCache.java @@ -335,24 +335,6 @@ public class PasswordCache { System.exit(1); } } - - private static boolean badPassword(String pwd) { - // XXX - implement only password checking - return false; -/* - PasswordChecker pwdChecker = new PasswordChecker(); - - if (!pwdChecker.isGoodPassword(pwd)) { - String reason = pwdChecker.getReason(pwd); - - System.out.println("New password does not pass password " + - "quality test: " + reason); - return true; - } else { - return false; - } -*/ - } } -- cgit