fixed sonar issues in WebConfig.java
authorSandeep J <sandeejh@in.ibm.com>
Fri, 30 Nov 2018 11:23:01 +0000 (16:53 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 30 Nov 2018 11:23:16 +0000 (16:53 +0530)
to increase code coverage

Issue-ID: CCSDK-525
Change-Id: I406781cbdfa34b29d293376d74ab7eb4295552a2
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
ms/blueprintsprocessor/application/src/main/java/org/onap/ccsdk/apps/blueprintsprocessor/WebConfig.java

index f1b8f9d..3742f56 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
  *  Copyright © 2017-2018 AT&T Intellectual Property.\r
+ *  Modifications Copyright © 2018 IBM.\r
  *\r
  *  Licensed under the Apache License, Version 2.0 (the "License");\r
  *  you may not use this file except in compliance with the License.\r
 \r
 package org.onap.ccsdk.apps.blueprintsprocessor;\r
 \r
-import org.slf4j.Logger;\r
-import org.slf4j.LoggerFactory;\r
 import org.springframework.context.annotation.Configuration;\r
-import org.springframework.format.FormatterRegistry;\r
 import org.springframework.web.reactive.config.*;\r
 \r
 /**\r
@@ -29,6 +27,7 @@ import org.springframework.web.reactive.config.*;
  */\r
 @Configuration\r
 public class WebConfig extends WebFluxConfigurationSupport {\r
+       @Override\r
     public void addResourceHandlers(ResourceHandlerRegistry registry) {\r
         registry.addResourceHandler("swagger-ui.html")\r
                 .addResourceLocations("classpath:/META-INF/resources/");\r