mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-05 16:27:33 +08:00
chore: configure SpotBugs plugin find-sec-bugs
(#5144)
This commit is contained in:
5
pom.xml
5
pom.xml
@ -127,6 +127,11 @@
|
||||
<artifactId>fb-contrib</artifactId>
|
||||
<version>7.6.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.h3xstream.findsecbugs</groupId>
|
||||
<artifactId>findsecbugs-plugin</artifactId>
|
||||
<version>1.13.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@ -282,4 +282,14 @@
|
||||
<Match>
|
||||
<Bug pattern="SPP_TOSTRING_ON_STRING" />
|
||||
</Match>
|
||||
<!-- find-sec-bugs -->
|
||||
<Match>
|
||||
<Bug pattern="PREDICTABLE_RANDOM" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Bug pattern="HARD_CODE_KEY" />
|
||||
</Match>
|
||||
<Match>
|
||||
<Bug pattern="PATH_TRAVERSAL_IN" />
|
||||
</Match>
|
||||
</FindBugsFilter>
|
||||
|
Reference in New Issue
Block a user