summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-11 16:37:05 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-11 16:37:57 +0530
commit7e5f3b4f7a3909915cd4375243920425d001cfaf (patch)
tree929fc0d17cc1d8bbb4ba3757bb7b96ce641031b8 /ms/controllerblueprints
parent02f6311c1233b7473dd2fa0345b301cf5e0885ad (diff)
fixed sonar issues in SwaggerConfig.java
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: I46b7ed49ea6212779c6d5300a56b84d28cdf5fe2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'ms/controllerblueprints')
-rw-r--r--ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java
index b9c0bd19..f9dbf6d1 100644
--- a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java
+++ b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java
@@ -1,5 +1,6 @@
/*
* Copyright © 2017-2018 AT&T Intellectual Property.
+ * Modifications Copyright © 2018 IBM.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,13 +17,20 @@
package org.onap.ccsdk.apps.controllerblueprints;
-import com.google.common.collect.Lists;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
import org.jetbrains.annotations.NotNull;
import org.onap.ccsdk.apps.controllerblueprints.core.BluePrintConstants;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.RequestMethod;
+
+import com.google.common.collect.Lists;
+
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.builders.ResponseMessageBuilder;
@@ -34,11 +42,6 @@ import springfox.documentation.service.ResponseMessage;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
/**
* SwaggerConfig
*