summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/clamp/clds/config/spring/CldsSdcControllerConfiguration.java2
-rw-r--r--src/main/java/org/onap/clamp/clds/service/CldsTemplateService.java9
2 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/org/onap/clamp/clds/config/spring/CldsSdcControllerConfiguration.java b/src/main/java/org/onap/clamp/clds/config/spring/CldsSdcControllerConfiguration.java
index 09d4d633..c191dbc8 100644
--- a/src/main/java/org/onap/clamp/clds/config/spring/CldsSdcControllerConfiguration.java
+++ b/src/main/java/org/onap/clamp/clds/config/spring/CldsSdcControllerConfiguration.java
@@ -75,7 +75,7 @@ public class CldsSdcControllerConfiguration {
try {
e.closeSdc();
} catch (SdcControllerException e1) {
- logger.error("Exception caught during initialization of sdc controller", e);
+ logger.error("Exception caught during initialization of sdc controller", e1);
}
});
}
diff --git a/src/main/java/org/onap/clamp/clds/service/CldsTemplateService.java b/src/main/java/org/onap/clamp/clds/service/CldsTemplateService.java
index 7a9ee70e..f26d7467 100644
--- a/src/main/java/org/onap/clamp/clds/service/CldsTemplateService.java
+++ b/src/main/java/org/onap/clamp/clds/service/CldsTemplateService.java
@@ -23,10 +23,6 @@
package org.onap.clamp.clds.service;
-import com.fasterxml.jackson.core.JsonParseException;
-import com.fasterxml.jackson.databind.JsonMappingException;
-
-import java.io.IOException;
import java.util.Date;
import java.util.List;
@@ -147,9 +143,8 @@ public class CldsTemplateService extends SecureServiceBase {
* REST service that saves a CLDS template by name in the database.
*
* @param templateName
- * @throws IOException
- * @throws JsonMappingException
- * @throws JsonParseException
+ * @param cldsTemplate
+ * @return The CldsTemplate modified and saved in DB
*/
@PUT
@Path("/template/{templateName}")