summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-08-07 00:00:59 -0400
committerEndi S. Dewata <edewata@redhat.com>2013-08-20 14:23:18 -0400
commit6d99354ce9e2f1250538eb31a8b7e2e788518892 (patch)
treefc3af79644a1d8ad311502a4e38f7896693c1fba /base/java-tools/src
parent4a2880f466451d8089409d83474a7339bffffe25 (diff)
downloadpki-6d99354ce9e2f1250538eb31a8b7e2e788518892.tar.gz
pki-6d99354ce9e2f1250538eb31a8b7e2e788518892.tar.xz
pki-6d99354ce9e2f1250538eb31a8b7e2e788518892.zip
Added generic database.
A new generic database class has been added to simplify in-memory database creation. The token database has been refactored to inherit this class. Ticket #652
Diffstat (limited to 'base/java-tools/src')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/token/TokenFindCLI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/token/TokenFindCLI.java b/base/java-tools/src/com/netscape/cmstools/token/TokenFindCLI.java
index a627d13fb..b1fa04f47 100644
--- a/base/java-tools/src/com/netscape/cmstools/token/TokenFindCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/token/TokenFindCLI.java
@@ -72,7 +72,7 @@ public class TokenFindCLI extends CLI {
Integer size = s == null ? null : Integer.valueOf(s);
TokenCollection result = tokenCLI.tokenClient.findTokens(start, size);
- Collection<TokenData> tokens = result.getTokens();
+ Collection<TokenData> tokens = result.getEntries();
MainCLI.printMessage(tokens.size() + " token(s) matched");