Skip to content

Commit

Permalink
chore(deps): update dependency com.github.spotbugs to v5.2.0 (#450)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency com.github.spotbugs to v5.2.0

* exclude PI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS_CLASS_NAMES

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ahoo Wang <[email protected]>
  • Loading branch information
renovate[bot] and Ahoo-Wang authored Oct 18, 2023
1 parent 354d6e2 commit 7a63929
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
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

0 comments on commit 7a63929

Please sign in to comment.