mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-06 00:54:32 +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>
|
<artifactId>fb-contrib</artifactId>
|
||||||
<version>7.6.4</version>
|
<version>7.6.4</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.h3xstream.findsecbugs</groupId>
|
||||||
|
<artifactId>findsecbugs-plugin</artifactId>
|
||||||
|
<version>1.13.0</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -282,4 +282,14 @@
|
|||||||
<Match>
|
<Match>
|
||||||
<Bug pattern="SPP_TOSTRING_ON_STRING" />
|
<Bug pattern="SPP_TOSTRING_ON_STRING" />
|
||||||
</Match>
|
</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>
|
</FindBugsFilter>
|
||||||
|
Reference in New Issue
Block a user