diff options
author | varun gudisena <vg411h@att.com> | 2018-04-09 23:38:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-09 23:38:08 +0000 |
commit | 202e9d3927d571e3f60f60f68ac8b7615f47d7dc (patch) | |
tree | 7fead918965c51ae3a7162a79b71010095d74d51 /src | |
parent | d7469cddb5a15ddc7f74058684e9752fd286b1f7 (diff) | |
parent | 244299e82d62ad61882a1927221ed9da0add4619 (diff) |
Merge changes I6c771a10,Icc4bbba2,I57888729
* changes:
sonar issue for ApiKeysRestService.java.java
sonar issue for ApiKeysRestService.java.java
sonar issue for ConfigTool.java
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java | 4 | ||||
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java index eb76a96..a76a04c 100644 --- a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java @@ -160,7 +160,7 @@ public class ApiKeysRestService { @POST @Path("/create") @Consumes(MediaType.APPLICATION_JSON) - public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException { + public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException { log.info("Creating Api Key."); try { @@ -192,7 +192,7 @@ public class ApiKeysRestService { @PUT @Path("/{apiKey}") public void updateApiKey(@PathParam("apiKey") String apiKeyName, - ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException { + ApiKeyBean nsaApiKey) throws CambriaApiException { log.info("Updating Api Key."); try { diff --git a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java index 85725e5..19f22d0 100644 --- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java +++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java @@ -128,7 +128,7 @@ public class ConfigTool extends CommandLineTool<ConfigToolContext> } catch ( ConfigDbException e ) { - out.println ( "Command failed: " + e.getMessage() ); + out.println ( "Command failed: " + e); } } |