diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2018-11-30 16:53:01 +0530 |
---|---|---|
committer | Sandeep J <sandeejh@in.ibm.com> | 2018-11-30 16:53:16 +0530 |
commit | 1cb6e06bc723b5eade162f1924b8b91da65ad4a3 (patch) | |
tree | d98fd8ff5e104cafef7efad7e884006dbe8592fa /ms/blueprintsprocessor/application/src | |
parent | 3f83c10aa60ccecd020b06917de694ec11f544b0 (diff) |
fixed sonar issues in WebConfig.java
to increase code coverage
Issue-ID: CCSDK-525
Change-Id: I406781cbdfa34b29d293376d74ab7eb4295552a2
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'ms/blueprintsprocessor/application/src')
-rw-r--r-- | ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.java b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.java index f1b8f9d6f..3742f5604 100644 --- a/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.java +++ b/ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.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,10 +17,7 @@ package org.onap.ccsdk.apps.blueprintsprocessor;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
-import org.springframework.format.FormatterRegistry;
import org.springframework.web.reactive.config.*;
/**
@@ -29,6 +27,7 @@ import org.springframework.web.reactive.config.*; */
@Configuration
public class WebConfig extends WebFluxConfigurationSupport {
+ @Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("swagger-ui.html")
.addResourceLocations("classpath:/META-INF/resources/");
|