diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2013-08-07 00:00:59 -0400 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2013-08-20 14:23:18 -0400 |
| commit | 6d99354ce9e2f1250538eb31a8b7e2e788518892 (patch) | |
| tree | fc3af79644a1d8ad311502a4e38f7896693c1fba /base/java-tools/src | |
| parent | 4a2880f466451d8089409d83474a7339bffffe25 (diff) | |
| download | pki-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.java | 2 |
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"); |
