summaryrefslogtreecommitdiffstats
path: root/spotbugs
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2021-05-18 16:02:30 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-06-08 10:29:15 -0400
commitf549c7c144512d98f5cdb847d172193a0cad9358 (patch)
tree68dcad8d5129237ec52517cf3188ca963c5b7cf8 /spotbugs
parentc37678a3eb62685d32a1581729e2a4e26002bffc (diff)
Add json schema for events
Issue-ID: CPS-348 Issue-ID: CPS-373 Change-Id: Ia0d31f6393e90cb0d5370ca6a78dfbe8817545ae Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Diffstat (limited to 'spotbugs')
-rw-r--r--spotbugs/src/main/resources/spotbugs-exclude.xml24
1 files changed, 22 insertions, 2 deletions
diff --git a/spotbugs/src/main/resources/spotbugs-exclude.xml b/spotbugs/src/main/resources/spotbugs-exclude.xml
index 7fdda7364e..059b560691 100644
--- a/spotbugs/src/main/resources/spotbugs-exclude.xml
+++ b/spotbugs/src/main/resources/spotbugs-exclude.xml
@@ -1,7 +1,26 @@
+<!--
+ ============LICENSE_START=======================================================
+ Copyright (c) 2021 Pantheon.tech.
+ Modifications Copyright (C) 2021 Bell Canada.
+ ================================================================================
+ 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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+-->
+
<FindBugsFilter>
<Match>
- <!-- Ignore generated code from Antlr4 -->
- <Package name="org.onap.cps.cpspath.parser.antlr4" />
+ <!-- Ignore generated code -->
+ <Source name="~.*generated-sources.*.java"/>
</Match>
<Match>
<Or>
@@ -28,4 +47,5 @@
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
</Or>
</Match>
+
</FindBugsFilter>