diff options
author | Dan Timoney <dtimoney@att.com> | 2018-12-11 17:32:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-12-11 17:32:51 +0000 |
commit | eca9141f51791bd5283c8e33739babcdbe97d46c (patch) | |
tree | 7e1e14bcfd0147e4b5a2389fcf5c2d08abca9abc /ms/controllerblueprints | |
parent | 68e4c4aeb00d9b4719cbb054e4b15481910e3ae0 (diff) | |
parent | 7e5f3b4f7a3909915cd4375243920425d001cfaf (diff) |
Merge "fixed sonar issues in SwaggerConfig.java"
Diffstat (limited to 'ms/controllerblueprints')
-rw-r--r-- | ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/SwaggerConfig.java | 15 |
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 * |