summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/dbs/keydb
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-02-06 15:44:34 -0600
committerEndi Sukma Dewata <edewata@redhat.com>2012-02-14 16:32:25 -0600
commitd5c6e6c69e678a79f9e8cd312e6007ad88026a36 (patch)
tree2e5934f2ff9aeb3b5014808799f2862ee262a723 /pki/base/common/src/com/netscape/certsrv/dbs/keydb
parenta4979af45554d97190180a038a4b438e3161d609 (diff)
downloadpki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.tar.gz
pki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.tar.xz
pki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.zip
Added generics (part 4).
This patch brings down the warnings from 3427 to 2917. Ticket #2
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/dbs/keydb')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/dbs/keydb/IKeyRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/keydb/IKeyRepository.java b/pki/base/common/src/com/netscape/certsrv/dbs/keydb/IKeyRepository.java
index ca1e2c8aa..627844286 100644
--- a/pki/base/common/src/com/netscape/certsrv/dbs/keydb/IKeyRepository.java
+++ b/pki/base/common/src/com/netscape/certsrv/dbs/keydb/IKeyRepository.java
@@ -97,7 +97,7 @@ public interface IKeyRepository extends IRepository {
* @return a list of private key records
* @exception EBaseException failed to search keys
*/
- public Enumeration searchKeys(String filter, int maxSize)
+ public Enumeration<IKeyRecord> searchKeys(String filter, int maxSize)
throws EBaseException;
/**
@@ -109,7 +109,7 @@ public interface IKeyRepository extends IRepository {
* @return a list of private key records
* @exception EBaseException failed to search keys
*/
- public Enumeration searchKeys(String filter, int maxSize, int timeLimt)
+ public Enumeration<IKeyRecord> searchKeys(String filter, int maxSize, int timeLimt)
throws EBaseException;
/**