[java-metadata-aggregator] 01/02: Exclude inner classes in tests from SpotBugs scrutiny
Ian Young
ian at iay.org.uk
Fri Aug 26 16:24:48 UTC 2022
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch main
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=838887e830baf4065fb2f1fdbbd2056e28728b23
commit 838887e830baf4065fb2f1fdbbd2056e28728b23
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Aug 26 17:20:25 2022 +0100
Exclude inner classes in tests from SpotBugs scrutiny
---
resources/spotbugs/spotbugs-exclude.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/resources/spotbugs/spotbugs-exclude.xml b/resources/spotbugs/spotbugs-exclude.xml
index 425e6f6..9711389 100644
--- a/resources/spotbugs/spotbugs-exclude.xml
+++ b/resources/spotbugs/spotbugs-exclude.xml
@@ -10,6 +10,9 @@
<Match>
<Class name="~.*Test"/>
</Match>
+ <Match>
+ <Class name="~.*Test\$.*"/><!-- Inner classes. -->
+ </Match>
<Match>
<Class name="~.*Mock.*"/>
</Match>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list