summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/dbs
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/dbs')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java6
-rw-r--r--pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java b/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
index 8e627520c..7d175c452 100644
--- a/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
+++ b/pki/base/common/src/com/netscape/certsrv/dbs/IDBVirtualList.java
@@ -27,7 +27,7 @@ import com.netscape.certsrv.base.EBaseException;
*
* @version $Revision$, $Date$
*/
-public interface IDBVirtualList {
+public interface IDBVirtualList<E> {
/**
* Sets the paging size of this virtual list.
@@ -107,7 +107,7 @@ public interface IDBVirtualList {
*
* @param index the index of the element to fetch
*/
- public Object getElementAt(int index);
+ public E getElementAt(int index);
/**
* Retrieves and jumps to element in the given position.
@@ -115,7 +115,7 @@ public interface IDBVirtualList {
* @param i position
* @return object
*/
- public Object getJumpToElementAt(int i);
+ public E getJumpToElementAt(int i);
/**
* Processes elements as soon as it arrives. It is
diff --git a/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java b/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
index a77458880..616bd5db1 100644
--- a/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
+++ b/pki/base/common/src/com/netscape/certsrv/dbs/certdb/ICertRecordList.java
@@ -91,6 +91,6 @@ public interface ICertRecordList {
* @return object
* @exception EBaseException failed to retrieve
*/
- public Object getCertRecord(int index)
+ public ICertRecord getCertRecord(int index)
throws EBaseException;
}