Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency com.github.spotbugs to v5.2.0 #450

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions config/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,38 @@
<Package name="~me\.ahoo\.cosid\..*\.*jmh_generated"/>
</Match>
<Match>
<Class name="~.*\.*Test.*" />
<Class name="~.*\.*Test.*"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<Bug pattern="EI_EXPOSE_REP2" />
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
</Match>
<Match>
<!--https://github.com/spotbugs/spotbugs/issues/2627-->
<!--https://github.com/Ahoo-Wang/CosId/pull/450-->
<Bug pattern="PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES"/>
</Match>
<Match>
<Class name="me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor"/>
<Method name="distribute0" />
<Method name="distribute0"/>
<Bug pattern="NP_NULL_ON_SOME_PATH"/>
</Match>
<Match>
<Class name="me.ahoo.cosid.accessor.IdDefinition$NotFoundIdDefinition"/>
<Field name="id"/>
<Bug pattern="SS_SHOULD_BE_STATIC"/>
</Match>
<Match>
<Class name="me.ahoo.cosid.snowflake.AbstractSnowflakeId"/>
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
</Match>
<Match>
<Class name="me.ahoo.cosid.cosid.RadixCosIdGenerator"/>
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
</Match>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jmh = "1.37"
# plugins
publishPlugin = "1.3.0"
jmhPlugin = "0.7.1"
spotbugs = "5.1.4"
spotbugs = "5.2.0"

[libraries]
springBootDependencies = { module = "org.springframework.boot:spring-boot-dependencies", version.ref = "springBoot" }
Expand Down
Loading