aboutsummaryrefslogtreecommitdiffstats
path: root/spotbugs
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2021-06-10 14:04:20 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-10 14:04:20 +0000
commite3f7305a421e075eef97d4eefdd590ca95a2a4f6 (patch)
treef40914b103b28e1a6c6ea6caaeb34265da92b9a5 /spotbugs
parent171f17003d3e130385de3cfda04f44447e421f61 (diff)
parentf549c7c144512d98f5cdb847d172193a0cad9358 (diff)
Merge "Add json schema for events"
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>