Skip to content

Commit 0da5583

Browse files
authored
Merge pull request #18 from tls-attacker/fix-spotbugs-ei-expose-rep
Fix SpotBugs EI_EXPOSE_REP warnings
2 parents 99fe25f + d3158fd commit 0da5583

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@
407407
<plugin>
408408
<groupId>com.github.spotbugs</groupId>
409409
<artifactId>spotbugs-maven-plugin</artifactId>
410+
<configuration>
411+
<excludeFilterFile>${project.basedir}/spotbugs-exclude.xml</excludeFilterFile>
412+
</configuration>
410413
</plugin>
411414
<plugin>
412415
<groupId>org.apache.maven.plugins</groupId>

spotbugs-exclude.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<FindBugsFilter>
3+
<!-- Exclude EI_EXPOSE_REP and EI_EXPOSE_REP2 globally -->
4+
<Match>
5+
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
6+
</Match>
7+
</FindBugsFilter>

0 commit comments

Comments
 (0)