fixed sonar issue in CorsFilter.java
authorSandeep J <sandeejh@in.ibm.com>
Thu, 13 Sep 2018 20:13:08 +0000 (01:43 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Thu, 13 Sep 2018 20:16:10 +0000 (01:46 +0530)
fixed sonar issue as detailed in CCSDK-566

Issue-ID: CCSDK-566
Change-Id: I5ec97cca3c0b632fb1219e981be950fce771e224
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java

index 91cc731..b97fa17 100644 (file)
@@ -1,6 +1,7 @@
 /*\r
  *  Copyright © 2017-2018 AT&T Intellectual Property.\r
- *\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
  *  You may obtain a copy of the License at\r
@@ -34,6 +35,7 @@ import java.io.IOException;
 public class CorsFilter implements Filter {\r
 \r
     public void destroy() {\r
+       //method does nothing\r
     }\r
 \r
     public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)\r
@@ -56,6 +58,7 @@ public class CorsFilter implements Filter {
     }\r
 \r
     public void init(FilterConfig fConfig) throws ServletException {\r
+       //method does nothing\r
     }\r
 \r
 }
\ No newline at end of file