aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-09-14 01:43:08 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-09-14 01:46:10 +0530
commitce34115e5669995dc0eaad11c50fbeaf180d69fc (patch)
tree717c5006d11113c29adf2ac9d4827e5e7618333c
parent7326444cb71223a3d57c5441efe86dde08bb1b9a (diff)
fixed sonar issue in CorsFilter.java
fixed sonar issue as detailed in CCSDK-566 Issue-ID: CCSDK-566 Change-Id: I5ec97cca3c0b632fb1219e981be950fce771e224 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java
index 91cc731d..b97fa178 100644
--- a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java
+++ b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/filters/CorsFilter.java
@@ -1,6 +1,7 @@
/*
* 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.
* You may obtain a copy of the License at
@@ -34,6 +35,7 @@ import java.io.IOException;
public class CorsFilter implements Filter {
public void destroy() {
+ //method does nothing
}
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)
@@ -56,6 +58,7 @@ public class CorsFilter implements Filter {
}
public void init(FilterConfig fConfig) throws ServletException {
+ //method does nothing
}
} \ No newline at end of file