summaryrefslogtreecommitdiffstats
path: root/base/ocsp
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-04-05 15:08:18 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-04-09 10:22:03 -0500
commit3f24e55923fc986af4c6a08b2b8d45704a905627 (patch)
tree716415853b5676b801f6707634305b59b9af8603 /base/ocsp
parent7c7b9d023cd466c1771068badc020dab36beb553 (diff)
downloadpki-3f24e55923fc986af4c6a08b2b8d45704a905627.tar.gz
pki-3f24e55923fc986af4c6a08b2b8d45704a905627.tar.xz
pki-3f24e55923fc986af4c6a08b2b8d45704a905627.zip
Removed unnecessary type casts.
Unnecessary type casts have been removed using Eclipse Quick Fix. Ticket #134
Diffstat (limited to 'base/ocsp')
-rw-r--r--base/ocsp/src/com/netscape/ocsp/OCSPAuthority.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/ocsp/src/com/netscape/ocsp/OCSPAuthority.java b/base/ocsp/src/com/netscape/ocsp/OCSPAuthority.java
index 8d2176c83..348a1b2f8 100644
--- a/base/ocsp/src/com/netscape/ocsp/OCSPAuthority.java
+++ b/base/ocsp/src/com/netscape/ocsp/OCSPAuthority.java
@@ -142,7 +142,7 @@ public class OCSPAuthority implements IOCSPAuthority, IOCSPService, ISubsystem,
Enumeration<String> ids = storeConfig.getSubStoreNames();
while (ids.hasMoreElements()) {
- String id = (String) ids.nextElement();
+ String id = ids.nextElement();
String className = mConfig.getString(PROP_STORE + "." + id + ".class", null);
IOCSPStore store = (IOCSPStore) Class.forName(className).newInstance();