From 3f24e55923fc986af4c6a08b2b8d45704a905627 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Apr 2012 15:08:18 -0500 Subject: Removed unnecessary type casts. Unnecessary type casts have been removed using Eclipse Quick Fix. Ticket #134 --- .../netscape/cmscore/authentication/ChallengePhraseAuthentication.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'base/common/src/com/netscape/cmscore/authentication/ChallengePhraseAuthentication.java') diff --git a/base/common/src/com/netscape/cmscore/authentication/ChallengePhraseAuthentication.java b/base/common/src/com/netscape/cmscore/authentication/ChallengePhraseAuthentication.java index f40145938..1040e6034 100644 --- a/base/common/src/com/netscape/cmscore/authentication/ChallengePhraseAuthentication.java +++ b/base/common/src/com/netscape/cmscore/authentication/ChallengePhraseAuthentication.java @@ -43,7 +43,6 @@ import com.netscape.certsrv.request.RequestStatus; import com.netscape.certsrv.usrgrp.ICertUserLocator; import com.netscape.cmscore.base.SubsystemRegistry; import com.netscape.cmscore.dbs.CertRecord; -import com.netscape.cmscore.dbs.CertificateRepository; import com.netscape.cmscore.util.Debug; import com.netscape.cmsutil.util.Utils; @@ -149,7 +148,7 @@ public class ChallengePhraseAuthentication implements IAuthManager { SubsystemRegistry.getInstance().get("ca"); if (mCA != null) { - mCertDB = (CertificateRepository) mCA.getCertificateRepository(); + mCertDB = mCA.getCertificateRepository(); } AuthToken authToken = new AuthToken(this); -- cgit