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
commitcb8273d76582e975358e28a5e3ee5ae1ac4345a2 (patch)
tree96e3d6852c0e33bf1609f952b8f7024dac6946a6
parent41c2e50bad504a7f81978598f39ebe409a2df808 (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 91cc731d0..b97fa1788 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