summaryrefslogtreecommitdiffstats
path: root/spotbugs
diff options
context:
space:
mode:
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>