MINOR: Upgrade spotbugs dependency (#12768)

Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
Manikumar Reddy 2022-10-24 23:11:31 +05:30 committed by GitHub
parent 7dcaec4a79
commit 09b8d511f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -120,7 +120,7 @@ versions += [
scoverage: "1.4.11",
slf4j: "1.7.36",
snappy: "1.1.8.4",
spotbugs: "4.2.2",
spotbugs: "4.7.3",
swaggerAnnotations: "2.2.0",
swaggerJaxrs2: "2.2.0",
zinc: "1.6.1",

View File

@ -28,8 +28,10 @@ For a detailed description of spotbugs bug categories, see https://spotbugs.read
<!-- Disable warnings about mutable objects and the use of public fields.
EI_EXPOSE_REP: May expose internal representation by returning reference to mutable object
EI_EXPOSE_REP2: May expose internal representation by incorporating reference to mutable object
MS_PKGPROTECT: Field should be package protected -->
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,MS_PKGPROTECT"/>
MS_PKGPROTECT: Field should be package protected
MS_EXPOSE_REP: Public static method may expose internal representation by returning array
EI_EXPOSE_STATIC_REP2: May expose internal static state by storing a mutable object into a static field -->
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,MS_PKGPROTECT,EI_EXPOSE_STATIC_REP2,MS_EXPOSE_REP"/>
</Match>
<Match>
@ -90,6 +92,8 @@ For a detailed description of spotbugs bug categories, see https://spotbugs.read
<Bug pattern="MS_CANNOT_BE_FINAL"/>
<Bug pattern="IC_INIT_CIRCULARITY"/>
<Bug pattern="SE_NO_SUITABLE_CONSTRUCTOR"/>
<Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/>
<Bug pattern="SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA"/>
</Or>
</Match>