summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cms/profile/common
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/cms/profile/common')
-rw-r--r--base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java3
-rw-r--r--base/common/src/com/netscape/cms/profile/common/RAEnrollProfile.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java b/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
index 46bc1a787..b44a71ee8 100644
--- a/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
+++ b/base/common/src/com/netscape/cms/profile/common/CAEnrollProfile.java
@@ -107,8 +107,7 @@ public class CAEnrollProfile extends EnrollProfile {
// do not archive keys for renewal requests
if ((optionsData != null) && (!request.getRequestType().equals(IRequest.RENEWAL_REQUEST))) {
- PKIArchiveOptions options = (PKIArchiveOptions)
- toPKIArchiveOptions(optionsData);
+ PKIArchiveOptions options = toPKIArchiveOptions(optionsData);
if (options != null) {
CMS.debug("CAEnrollProfile: execute found " +
diff --git a/base/common/src/com/netscape/cms/profile/common/RAEnrollProfile.java b/base/common/src/com/netscape/cms/profile/common/RAEnrollProfile.java
index 8bcb59c86..1fe2fa514 100644
--- a/base/common/src/com/netscape/cms/profile/common/RAEnrollProfile.java
+++ b/base/common/src/com/netscape/cms/profile/common/RAEnrollProfile.java
@@ -73,7 +73,7 @@ public class RAEnrollProfile extends EnrollProfile {
IRegistrationAuthority ra =
(IRegistrationAuthority) getAuthority();
- IRAService raService = (IRAService) ra.getRAService();
+ IRAService raService = ra.getRAService();
if (raService == null) {
throw new EProfileException("No RA Service");