summaryrefslogtreecommitdiffstats
path: root/base/tps/src
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2016-09-02 16:08:02 -0400
committerAde Lee <alee@redhat.com>2016-09-02 16:20:45 -0400
commit7a93dbeae18407e28437f4affc31ddc24a2c42f2 (patch)
tree967ca10ee53d724d3df82345360bfe2955a1db4a /base/tps/src
parentbc65e12500cbc3381b4e755a4a50214f43049ad3 (diff)
downloadpki-7a93dbeae18407e28437f4affc31ddc24a2c42f2.tar.gz
pki-7a93dbeae18407e28437f4affc31ddc24a2c42f2.tar.xz
pki-7a93dbeae18407e28437f4affc31ddc24a2c42f2.zip
Fix CertRequestInfo URLs
The URLs were generated by a UriBuilder that referred to the resource's annotated path. This top-level path changed though, even if the underlying paths did not. Replace this with a reference to the getX methods instead. Also fixed a few eclipse flagged warnings (unused imports etc). Ticket 2447
Diffstat (limited to 'base/tps/src')
-rw-r--r--base/tps/src/org/dogtagpki/server/tps/rest/TPSInstallerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/tps/src/org/dogtagpki/server/tps/rest/TPSInstallerService.java b/base/tps/src/org/dogtagpki/server/tps/rest/TPSInstallerService.java
index 068293e60..8fd24c8d8 100644
--- a/base/tps/src/org/dogtagpki/server/tps/rest/TPSInstallerService.java
+++ b/base/tps/src/org/dogtagpki/server/tps/rest/TPSInstallerService.java
@@ -50,7 +50,7 @@ public class TPSInstallerService extends SystemConfigService {
// get token prefix, if applicable
String tokPrefix = "";
- if (!request.getToken().equals(request.TOKEN_DEFAULT) &&
+ if (!request.getToken().equals(ConfigurationRequest.TOKEN_DEFAULT) &&
!request.getToken().equals("internal")) {
tokPrefix = request.getToken() + ":";
}