Skip to content

Commit

Permalink
Bump the dependencies group across 1 directory with 3 updates (#49)
Browse files Browse the repository at this point in the history
Bumps the dependencies group with 3 updates in the / directory:
[com.github.spotbugs:spotbugs-annotations](https://github.com/spotbugs/spotbugs),
[com.github.spotbugs:spotbugs](https://github.com/spotbugs/spotbugs) and
[org.sonatype.central:central-publishing-maven-plugin](https://github.com/sonatype/central-publishing-maven-plugin).

Updates `com.github.spotbugs:spotbugs-annotations` from 4.8.6 to 4.9.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/releases">com.github.spotbugs:spotbugs-annotations's
releases</a>.</em></p>
<blockquote>
<h2>SpotBugs 4.9.0</h2>
<h3>CHANGELOG</h3>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md">https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md</a></li>
</ul>
<h3>CHECKSUM</h3>
<table>
<thead>
<tr>
<th>file</th>
<th>checksum (sha256)</th>
</tr>
</thead>
<tbody>
<tr>
<td>spotbugs-4.9.0-javadoc.jar</td>

<td>5d577a6bc5a67ea1ed93c132caa5825228aecf7814b7d54406b93ab182d6e7b6</td>
</tr>
<tr>
<td>spotbugs-4.9.0-sources.jar</td>

<td>310d5b46d76d06698303b21a26482d070c04df78fe0807b8f734ca6477cc6028</td>
</tr>
<tr>
<td>spotbugs-4.9.0.tgz</td>

<td>d9fec1c0d0d2771153ed3f654a2a793558cefa7796cca3a5cad801f5529ec82d</td>
</tr>
<tr>
<td>spotbugs-4.9.0.zip</td>

<td>47a8fcafb93da34dcaa8ab862c24dfd16263b9d0feb89fc68bdf75445ac0fe25</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-javadoc.jar</td>

<td>4a75bb25717e01513b37f1214710bdeeafe8b23472c5880de9951ccd2b746515</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-sources.jar</td>

<td>990ad9f3500499a99466b7c1e01284f4f41d1499358e7dc38c8defc59dab114c</td>
</tr>
<tr>
<td>spotbugs-annotations.jar</td>

<td>c13d24d43609a1418472f046d739bceda714ed7aa500e0589c872e0d684a47da</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-javadoc.jar</td>

<td>19742deb83c58bc9cc7a415d1b9afed9d4e9144869f4b618fea94c7dcd9b6942</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-sources.jar</td>

<td>591073402e4110093a380169acd3f33b26c2f893c2eaed5a6460d9be0b26014e</td>
</tr>
<tr>
<td>spotbugs-ant.jar</td>

<td>3a6f453696294d5314e648d4891d35e34315e11cb63c758a1601021cc0d803d1</td>
</tr>
<tr>
<td>spotbugs.jar</td>

<td>a4a29bc8c1080e03bfc33bee2aa8f5f37003c8a568fff034a39f126623b7b536</td>
</tr>
<tr>
<td>test-harness-4.9.0-javadoc.jar</td>

<td>187bd2f939d9b0eed59498606ead50f6175d7c0d30f9274637a5910e6488a156</td>
</tr>
<tr>
<td>test-harness-4.9.0-sources.jar</td>

<td>22688f14ef808cde65cc46e86d41c617fc397fc4967516006a73ce8bad658b9f</td>
</tr>
<tr>
<td>test-harness-4.9.0.jar</td>

<td>9bf5bba9546e4f89032006261dd2921a79fc3044e473ee1fa73af870cb43da15</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-javadoc.jar</td>

<td>16754b3383b694650aef3ecfc2ed88e66574db9ebb42aad96e252e78912a5dd0</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-sources.jar</td>

<td>13825de35190089490c7e290b52bafe6a9b08ab431177c0191dae9cf2a88a55d</td>
</tr>
<tr>
<td>test-harness-core-4.9.0.jar</td>

<td>3c74cc6d2d6f999d403f00f97685587e617d2bf1bfc348bbd0597e785c83feec</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-javadoc.jar</td>

<td>cbbdc4038e5a3aa04278e9a82139679e5044a7f63571b88abd6818531230c736</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-sources.jar</td>

<td>0aefbc5c8bd406e5dc0b1d59bc3afc6889c02010d486b22242f4f19a1a935800</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0.jar</td>

<td>0e9509de32f8fbc94cf088dbee80394fa93807a766532568e652cd622ce737c8</td>
</tr>
</tbody>
</table>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md">com.github.spotbugs:spotbugs-annotations's
changelog</a>.</em></p>
<blockquote>
<h2>4.9.0 - 2025-01-15</h2>
<h3>Added</h3>
<ul>
<li>Updated the <code>SuppressFBWarnings</code> annotation to support
finer grained bug suppressions (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3102">#3102</a>)</li>
<li>SimpleDateFormat, DateTimeFormatter, FastDateFormat string check for
bad combinations of flag formatting (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/637">#637</a>)</li>
<li>New detector <code>ResourceInMultipleThreadsDetector</code> and
introduced new bug type:
<ul>
<li><code>AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD</code> is reported in case
of unsafe resource access in multiple threads.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Do not consider Records as Singletons (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2981">#2981</a>)</li>
<li>Keep a maximum of 10000 cached analysis entries for plugin's
analysis engines (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3025">#3025</a>)</li>
<li>Only report <code>MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT</code>
when calling own methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2957">#2957</a>)</li>
<li>Check the actual caught exceptions (instead of their common type)
when analyzing multi-catch blocks (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2968">#2968</a>)</li>
<li>System property <code>findbugs.refcomp.reportAll</code> is now being
used. For some new conditions, it will emit an experimental warning (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2988">#2988</a>)</li>
<li><code>-version</code> flag prints the version to the standard output
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2797">#2797</a>)</li>
<li>Revert the changes from (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2894">#2894</a>)
to get HTML stylesheets to work again (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2969">#2969</a>)</li>
<li>Fix FP <code>SING_SINGLETON_GETTER_NOT_SYNCHRONIZED</code> report
when the synchronization is in a called method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3045">#3045</a>)</li>
<li>Let <code>BetterCFGBuilder2.isPEI</code> handle <code>dup2</code>
bytecode used by Spring AOT (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3059">#3059</a>)</li>
<li>Detect failure to close RocksDB's ReadOptions (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3069">#3069</a>)</li>
<li>Fix FP <code>EI_EXPOSE_REP</code> when there are multiple immutable
assignments (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3023">#3023</a>)</li>
<li>Fixed false positive
<code>NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</code> for Kotlin,
handle Kotlin's <code>Intrinsics.checkNotNullParameter()</code> (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3094">#3094</a>)</li>
<li>Fixed some CWE mappings (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3124">#3124</a>)</li>
<li>Recognize some classes as immutable, fixing EI_EXPOSE and MS_EXPOSE
FPs (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3137">#3137</a>)</li>
<li>Do not report UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR for fields
initialized in method annotated with TestNG's <a
href="https://github.com/BeforeClass"><code>@​BeforeClass</code></a>.
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3152">#3152</a>)</li>
<li>Fixed detector <code>FindReturnRef</code> not finding references
exposed from nested and inner classes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2042">#2042</a>)</li>
<li>Fix call graph, include non-parametric void methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3160">#3160</a>)</li>
<li>Fix multiple reporting of identical bugs messing up statistics (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3185">#3185</a>)</li>
<li>Added missing comma between line number and confidence when
describing matching and mismatching bugs for tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3187">#3187</a>)</li>
<li>Fixed method matchers with array types (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3203">#3203</a>)</li>
<li>Fix SARIF report's message property in Exception to meet the
standard (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3197">#3197</a>)</li>
<li>Fixed <code>FI_FINALIZER_NULLS_FIELDS</code> FPs for functions
called finalize() but not with the correct signature. (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3207">#3207</a>)</li>
<li>Fixed an error in the detection of bridge methods causing analysis
crashes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3208">#3208</a>)</li>
<li>Fixed detector <code>ThrowingExceptions</code> by removing false
positive reports, such as synthetic methods (lambdas), methods which
inherited their exception specifications and methods which call throwing
methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2040">#2040</a>)</li>
<li>Do not report <code>DP_DO_INSIDE_DO_PRIVILEGED</code>,
<code>DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED</code> and
<code>USC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE</code> in
code targeting Java 17 and above, since it advises the usage of
deprecated method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/1515">#1515</a>).</li>
<li>Fixed a <code>RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT</code> false
positive for a builder delegating to another builder (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3235">#3235</a>)</li>
</ul>
<h3>Cleanup</h3>
<ul>
<li>Cleanup thread issue and regex issue in test-harness (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3130">#3130</a>)</li>
<li>Remove extra blank lines and remove public from interface objects as
inherently already public (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3131">#3131</a>)</li>
<li>Fix order of modifiers on properties/methods and ensure correct
location in file (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3132">#3132</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3177">#3177</a>)</li>
<li>Return objects directly instead of creating more garbage collection
by defining them (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3133">#3133</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3175">#3175</a>)</li>
<li>Restrict the constructor of abstract classes visibility to protected
(<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3178">#3178</a>)</li>
<li>Cleanup double initialization and fix comments referring to findbugs
instead of spotbugs(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3134">#3134</a>)</li>
<li>Use diamond operator in constructor calls of Collections (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3176">#3176</a>)</li>
<li>Use <code>Collection.isEmpty()</code> or
<code>String.isEmpty()</code> to test for emptiness (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3180">#3180</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3219">#3219</a>)</li>
<li>Use method references instead of lambdas where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3179">#3179</a>)</li>
<li>Move default clauses to the end of switches (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3222">#3222</a>)</li>
<li>Remove unnecessary throws declarations (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3220">#3220</a>)</li>
<li>Use <code>Boolean.parseBoolean()</code> for string-to-boolean
conversion. (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3217">#3217</a>)</li>
<li>Rename shadowing fields (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3221">#3221</a>)</li>
<li>Combine catch blocks with the same body (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3223">#3223</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ef76e9be12a692b9ef7c5725ead8ddd98a7a538c"><code>ef76e9b</code></a>
release v4.9.0</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d64bfd2542ebdb0360d4e31e3e30bb23bdb468a6"><code>d64bfd2</code></a>
Remove legacy cvs / svn revision data as git doesn't use that (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3262">#3262</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/3d80c8020291d9d58afda568a5451fe6e832d019"><code>3d80c80</code></a>
Move documentation items and other build items to java 11 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3260">#3260</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ab2a9f7ec78b3af65131141a70606bf401e56f78"><code>ab2a9f7</code></a>
Fix map container to use interface, few missed double initialization,
and mis...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/b7f48c93e9a662344b4c3ea972f742f5b015f494"><code>b7f48c9</code></a>
[tests] Cleanup code within tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3259">#3259</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/8bc2966f3feb230f4a46ea3cd8fb9c589714e0d8"><code>8bc2966</code></a>
Move Eclipse to java 11 to match rest of the project (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3258">#3258</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d3f97b3f0585822af2cc6718914c6ee6b58dd8fd"><code>d3f97b3</code></a>
Correct object creation for object to contain array marker not the
variable n...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ce7eac9e327d09465eff497edaf7b4ff5e11c801"><code>ce7eac9</code></a>
Use try with resources where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3253">#3253</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/97ac6b6dbd9df95dd2dff4b5644afcf03d92811a"><code>97ac6b6</code></a>
chore(deps): update plugin com.diffplug.spotless to v7.0.2 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3255">#3255</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/9f652a4d3e104bf6f87a56d65da317f17826ad8e"><code>9f652a4</code></a>
chore(deps): update dependency
com.diffplug.spotless:spotless-plugin-gradle t...</li>
<li>Additional commits viewable in <a
href="https://github.com/spotbugs/spotbugs/compare/4.8.6...4.9.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `com.github.spotbugs:spotbugs` from 4.8.6 to 4.9.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/releases">com.github.spotbugs:spotbugs's
releases</a>.</em></p>
<blockquote>
<h2>SpotBugs 4.9.0</h2>
<h3>CHANGELOG</h3>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md">https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md</a></li>
</ul>
<h3>CHECKSUM</h3>
<table>
<thead>
<tr>
<th>file</th>
<th>checksum (sha256)</th>
</tr>
</thead>
<tbody>
<tr>
<td>spotbugs-4.9.0-javadoc.jar</td>

<td>5d577a6bc5a67ea1ed93c132caa5825228aecf7814b7d54406b93ab182d6e7b6</td>
</tr>
<tr>
<td>spotbugs-4.9.0-sources.jar</td>

<td>310d5b46d76d06698303b21a26482d070c04df78fe0807b8f734ca6477cc6028</td>
</tr>
<tr>
<td>spotbugs-4.9.0.tgz</td>

<td>d9fec1c0d0d2771153ed3f654a2a793558cefa7796cca3a5cad801f5529ec82d</td>
</tr>
<tr>
<td>spotbugs-4.9.0.zip</td>

<td>47a8fcafb93da34dcaa8ab862c24dfd16263b9d0feb89fc68bdf75445ac0fe25</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-javadoc.jar</td>

<td>4a75bb25717e01513b37f1214710bdeeafe8b23472c5880de9951ccd2b746515</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-sources.jar</td>

<td>990ad9f3500499a99466b7c1e01284f4f41d1499358e7dc38c8defc59dab114c</td>
</tr>
<tr>
<td>spotbugs-annotations.jar</td>

<td>c13d24d43609a1418472f046d739bceda714ed7aa500e0589c872e0d684a47da</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-javadoc.jar</td>

<td>19742deb83c58bc9cc7a415d1b9afed9d4e9144869f4b618fea94c7dcd9b6942</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-sources.jar</td>

<td>591073402e4110093a380169acd3f33b26c2f893c2eaed5a6460d9be0b26014e</td>
</tr>
<tr>
<td>spotbugs-ant.jar</td>

<td>3a6f453696294d5314e648d4891d35e34315e11cb63c758a1601021cc0d803d1</td>
</tr>
<tr>
<td>spotbugs.jar</td>

<td>a4a29bc8c1080e03bfc33bee2aa8f5f37003c8a568fff034a39f126623b7b536</td>
</tr>
<tr>
<td>test-harness-4.9.0-javadoc.jar</td>

<td>187bd2f939d9b0eed59498606ead50f6175d7c0d30f9274637a5910e6488a156</td>
</tr>
<tr>
<td>test-harness-4.9.0-sources.jar</td>

<td>22688f14ef808cde65cc46e86d41c617fc397fc4967516006a73ce8bad658b9f</td>
</tr>
<tr>
<td>test-harness-4.9.0.jar</td>

<td>9bf5bba9546e4f89032006261dd2921a79fc3044e473ee1fa73af870cb43da15</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-javadoc.jar</td>

<td>16754b3383b694650aef3ecfc2ed88e66574db9ebb42aad96e252e78912a5dd0</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-sources.jar</td>

<td>13825de35190089490c7e290b52bafe6a9b08ab431177c0191dae9cf2a88a55d</td>
</tr>
<tr>
<td>test-harness-core-4.9.0.jar</td>

<td>3c74cc6d2d6f999d403f00f97685587e617d2bf1bfc348bbd0597e785c83feec</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-javadoc.jar</td>

<td>cbbdc4038e5a3aa04278e9a82139679e5044a7f63571b88abd6818531230c736</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-sources.jar</td>

<td>0aefbc5c8bd406e5dc0b1d59bc3afc6889c02010d486b22242f4f19a1a935800</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0.jar</td>

<td>0e9509de32f8fbc94cf088dbee80394fa93807a766532568e652cd622ce737c8</td>
</tr>
</tbody>
</table>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md">com.github.spotbugs:spotbugs's
changelog</a>.</em></p>
<blockquote>
<h2>4.9.0 - 2025-01-15</h2>
<h3>Added</h3>
<ul>
<li>Updated the <code>SuppressFBWarnings</code> annotation to support
finer grained bug suppressions (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3102">#3102</a>)</li>
<li>SimpleDateFormat, DateTimeFormatter, FastDateFormat string check for
bad combinations of flag formatting (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/637">#637</a>)</li>
<li>New detector <code>ResourceInMultipleThreadsDetector</code> and
introduced new bug type:
<ul>
<li><code>AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD</code> is reported in case
of unsafe resource access in multiple threads.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Do not consider Records as Singletons (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2981">#2981</a>)</li>
<li>Keep a maximum of 10000 cached analysis entries for plugin's
analysis engines (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3025">#3025</a>)</li>
<li>Only report <code>MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT</code>
when calling own methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2957">#2957</a>)</li>
<li>Check the actual caught exceptions (instead of their common type)
when analyzing multi-catch blocks (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2968">#2968</a>)</li>
<li>System property <code>findbugs.refcomp.reportAll</code> is now being
used. For some new conditions, it will emit an experimental warning (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2988">#2988</a>)</li>
<li><code>-version</code> flag prints the version to the standard output
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2797">#2797</a>)</li>
<li>Revert the changes from (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2894">#2894</a>)
to get HTML stylesheets to work again (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2969">#2969</a>)</li>
<li>Fix FP <code>SING_SINGLETON_GETTER_NOT_SYNCHRONIZED</code> report
when the synchronization is in a called method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3045">#3045</a>)</li>
<li>Let <code>BetterCFGBuilder2.isPEI</code> handle <code>dup2</code>
bytecode used by Spring AOT (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3059">#3059</a>)</li>
<li>Detect failure to close RocksDB's ReadOptions (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3069">#3069</a>)</li>
<li>Fix FP <code>EI_EXPOSE_REP</code> when there are multiple immutable
assignments (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3023">#3023</a>)</li>
<li>Fixed false positive
<code>NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</code> for Kotlin,
handle Kotlin's <code>Intrinsics.checkNotNullParameter()</code> (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3094">#3094</a>)</li>
<li>Fixed some CWE mappings (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3124">#3124</a>)</li>
<li>Recognize some classes as immutable, fixing EI_EXPOSE and MS_EXPOSE
FPs (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3137">#3137</a>)</li>
<li>Do not report UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR for fields
initialized in method annotated with TestNG's <a
href="https://github.com/BeforeClass"><code>@​BeforeClass</code></a>.
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3152">#3152</a>)</li>
<li>Fixed detector <code>FindReturnRef</code> not finding references
exposed from nested and inner classes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2042">#2042</a>)</li>
<li>Fix call graph, include non-parametric void methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3160">#3160</a>)</li>
<li>Fix multiple reporting of identical bugs messing up statistics (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3185">#3185</a>)</li>
<li>Added missing comma between line number and confidence when
describing matching and mismatching bugs for tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3187">#3187</a>)</li>
<li>Fixed method matchers with array types (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3203">#3203</a>)</li>
<li>Fix SARIF report's message property in Exception to meet the
standard (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3197">#3197</a>)</li>
<li>Fixed <code>FI_FINALIZER_NULLS_FIELDS</code> FPs for functions
called finalize() but not with the correct signature. (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3207">#3207</a>)</li>
<li>Fixed an error in the detection of bridge methods causing analysis
crashes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3208">#3208</a>)</li>
<li>Fixed detector <code>ThrowingExceptions</code> by removing false
positive reports, such as synthetic methods (lambdas), methods which
inherited their exception specifications and methods which call throwing
methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2040">#2040</a>)</li>
<li>Do not report <code>DP_DO_INSIDE_DO_PRIVILEGED</code>,
<code>DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED</code> and
<code>USC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE</code> in
code targeting Java 17 and above, since it advises the usage of
deprecated method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/1515">#1515</a>).</li>
<li>Fixed a <code>RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT</code> false
positive for a builder delegating to another builder (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3235">#3235</a>)</li>
</ul>
<h3>Cleanup</h3>
<ul>
<li>Cleanup thread issue and regex issue in test-harness (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3130">#3130</a>)</li>
<li>Remove extra blank lines and remove public from interface objects as
inherently already public (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3131">#3131</a>)</li>
<li>Fix order of modifiers on properties/methods and ensure correct
location in file (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3132">#3132</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3177">#3177</a>)</li>
<li>Return objects directly instead of creating more garbage collection
by defining them (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3133">#3133</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3175">#3175</a>)</li>
<li>Restrict the constructor of abstract classes visibility to protected
(<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3178">#3178</a>)</li>
<li>Cleanup double initialization and fix comments referring to findbugs
instead of spotbugs(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3134">#3134</a>)</li>
<li>Use diamond operator in constructor calls of Collections (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3176">#3176</a>)</li>
<li>Use <code>Collection.isEmpty()</code> or
<code>String.isEmpty()</code> to test for emptiness (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3180">#3180</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3219">#3219</a>)</li>
<li>Use method references instead of lambdas where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3179">#3179</a>)</li>
<li>Move default clauses to the end of switches (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3222">#3222</a>)</li>
<li>Remove unnecessary throws declarations (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3220">#3220</a>)</li>
<li>Use <code>Boolean.parseBoolean()</code> for string-to-boolean
conversion. (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3217">#3217</a>)</li>
<li>Rename shadowing fields (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3221">#3221</a>)</li>
<li>Combine catch blocks with the same body (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3223">#3223</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ef76e9be12a692b9ef7c5725ead8ddd98a7a538c"><code>ef76e9b</code></a>
release v4.9.0</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d64bfd2542ebdb0360d4e31e3e30bb23bdb468a6"><code>d64bfd2</code></a>
Remove legacy cvs / svn revision data as git doesn't use that (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3262">#3262</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/3d80c8020291d9d58afda568a5451fe6e832d019"><code>3d80c80</code></a>
Move documentation items and other build items to java 11 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3260">#3260</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ab2a9f7ec78b3af65131141a70606bf401e56f78"><code>ab2a9f7</code></a>
Fix map container to use interface, few missed double initialization,
and mis...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/b7f48c93e9a662344b4c3ea972f742f5b015f494"><code>b7f48c9</code></a>
[tests] Cleanup code within tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3259">#3259</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/8bc2966f3feb230f4a46ea3cd8fb9c589714e0d8"><code>8bc2966</code></a>
Move Eclipse to java 11 to match rest of the project (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3258">#3258</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d3f97b3f0585822af2cc6718914c6ee6b58dd8fd"><code>d3f97b3</code></a>
Correct object creation for object to contain array marker not the
variable n...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ce7eac9e327d09465eff497edaf7b4ff5e11c801"><code>ce7eac9</code></a>
Use try with resources where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3253">#3253</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/97ac6b6dbd9df95dd2dff4b5644afcf03d92811a"><code>97ac6b6</code></a>
chore(deps): update plugin com.diffplug.spotless to v7.0.2 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3255">#3255</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/9f652a4d3e104bf6f87a56d65da317f17826ad8e"><code>9f652a4</code></a>
chore(deps): update dependency
com.diffplug.spotless:spotless-plugin-gradle t...</li>
<li>Additional commits viewable in <a
href="https://github.com/spotbugs/spotbugs/compare/4.8.6...4.9.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `com.github.spotbugs:spotbugs` from 4.8.6 to 4.9.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/releases">com.github.spotbugs:spotbugs's
releases</a>.</em></p>
<blockquote>
<h2>SpotBugs 4.9.0</h2>
<h3>CHANGELOG</h3>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md">https://github.com/spotbugs/spotbugs/blob/4.9.0/CHANGELOG.md</a></li>
</ul>
<h3>CHECKSUM</h3>
<table>
<thead>
<tr>
<th>file</th>
<th>checksum (sha256)</th>
</tr>
</thead>
<tbody>
<tr>
<td>spotbugs-4.9.0-javadoc.jar</td>

<td>5d577a6bc5a67ea1ed93c132caa5825228aecf7814b7d54406b93ab182d6e7b6</td>
</tr>
<tr>
<td>spotbugs-4.9.0-sources.jar</td>

<td>310d5b46d76d06698303b21a26482d070c04df78fe0807b8f734ca6477cc6028</td>
</tr>
<tr>
<td>spotbugs-4.9.0.tgz</td>

<td>d9fec1c0d0d2771153ed3f654a2a793558cefa7796cca3a5cad801f5529ec82d</td>
</tr>
<tr>
<td>spotbugs-4.9.0.zip</td>

<td>47a8fcafb93da34dcaa8ab862c24dfd16263b9d0feb89fc68bdf75445ac0fe25</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-javadoc.jar</td>

<td>4a75bb25717e01513b37f1214710bdeeafe8b23472c5880de9951ccd2b746515</td>
</tr>
<tr>
<td>spotbugs-annotations-4.9.0-sources.jar</td>

<td>990ad9f3500499a99466b7c1e01284f4f41d1499358e7dc38c8defc59dab114c</td>
</tr>
<tr>
<td>spotbugs-annotations.jar</td>

<td>c13d24d43609a1418472f046d739bceda714ed7aa500e0589c872e0d684a47da</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-javadoc.jar</td>

<td>19742deb83c58bc9cc7a415d1b9afed9d4e9144869f4b618fea94c7dcd9b6942</td>
</tr>
<tr>
<td>spotbugs-ant-4.9.0-sources.jar</td>

<td>591073402e4110093a380169acd3f33b26c2f893c2eaed5a6460d9be0b26014e</td>
</tr>
<tr>
<td>spotbugs-ant.jar</td>

<td>3a6f453696294d5314e648d4891d35e34315e11cb63c758a1601021cc0d803d1</td>
</tr>
<tr>
<td>spotbugs.jar</td>

<td>a4a29bc8c1080e03bfc33bee2aa8f5f37003c8a568fff034a39f126623b7b536</td>
</tr>
<tr>
<td>test-harness-4.9.0-javadoc.jar</td>

<td>187bd2f939d9b0eed59498606ead50f6175d7c0d30f9274637a5910e6488a156</td>
</tr>
<tr>
<td>test-harness-4.9.0-sources.jar</td>

<td>22688f14ef808cde65cc46e86d41c617fc397fc4967516006a73ce8bad658b9f</td>
</tr>
<tr>
<td>test-harness-4.9.0.jar</td>

<td>9bf5bba9546e4f89032006261dd2921a79fc3044e473ee1fa73af870cb43da15</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-javadoc.jar</td>

<td>16754b3383b694650aef3ecfc2ed88e66574db9ebb42aad96e252e78912a5dd0</td>
</tr>
<tr>
<td>test-harness-core-4.9.0-sources.jar</td>

<td>13825de35190089490c7e290b52bafe6a9b08ab431177c0191dae9cf2a88a55d</td>
</tr>
<tr>
<td>test-harness-core-4.9.0.jar</td>

<td>3c74cc6d2d6f999d403f00f97685587e617d2bf1bfc348bbd0597e785c83feec</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-javadoc.jar</td>

<td>cbbdc4038e5a3aa04278e9a82139679e5044a7f63571b88abd6818531230c736</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0-sources.jar</td>

<td>0aefbc5c8bd406e5dc0b1d59bc3afc6889c02010d486b22242f4f19a1a935800</td>
</tr>
<tr>
<td>test-harness-jupiter-4.9.0.jar</td>

<td>0e9509de32f8fbc94cf088dbee80394fa93807a766532568e652cd622ce737c8</td>
</tr>
</tbody>
</table>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md">com.github.spotbugs:spotbugs's
changelog</a>.</em></p>
<blockquote>
<h2>4.9.0 - 2025-01-15</h2>
<h3>Added</h3>
<ul>
<li>Updated the <code>SuppressFBWarnings</code> annotation to support
finer grained bug suppressions (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3102">#3102</a>)</li>
<li>SimpleDateFormat, DateTimeFormatter, FastDateFormat string check for
bad combinations of flag formatting (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/637">#637</a>)</li>
<li>New detector <code>ResourceInMultipleThreadsDetector</code> and
introduced new bug type:
<ul>
<li><code>AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD</code> is reported in case
of unsafe resource access in multiple threads.</li>
</ul>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Do not consider Records as Singletons (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2981">#2981</a>)</li>
<li>Keep a maximum of 10000 cached analysis entries for plugin's
analysis engines (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3025">#3025</a>)</li>
<li>Only report <code>MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT</code>
when calling own methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2957">#2957</a>)</li>
<li>Check the actual caught exceptions (instead of their common type)
when analyzing multi-catch blocks (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2968">#2968</a>)</li>
<li>System property <code>findbugs.refcomp.reportAll</code> is now being
used. For some new conditions, it will emit an experimental warning (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2988">#2988</a>)</li>
<li><code>-version</code> flag prints the version to the standard output
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2797">#2797</a>)</li>
<li>Revert the changes from (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/2894">#2894</a>)
to get HTML stylesheets to work again (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2969">#2969</a>)</li>
<li>Fix FP <code>SING_SINGLETON_GETTER_NOT_SYNCHRONIZED</code> report
when the synchronization is in a called method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3045">#3045</a>)</li>
<li>Let <code>BetterCFGBuilder2.isPEI</code> handle <code>dup2</code>
bytecode used by Spring AOT (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3059">#3059</a>)</li>
<li>Detect failure to close RocksDB's ReadOptions (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3069">#3069</a>)</li>
<li>Fix FP <code>EI_EXPOSE_REP</code> when there are multiple immutable
assignments (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3023">#3023</a>)</li>
<li>Fixed false positive
<code>NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</code> for Kotlin,
handle Kotlin's <code>Intrinsics.checkNotNullParameter()</code> (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3094">#3094</a>)</li>
<li>Fixed some CWE mappings (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3124">#3124</a>)</li>
<li>Recognize some classes as immutable, fixing EI_EXPOSE and MS_EXPOSE
FPs (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3137">#3137</a>)</li>
<li>Do not report UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR for fields
initialized in method annotated with TestNG's <a
href="https://github.com/BeforeClass"><code>@​BeforeClass</code></a>.
(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3152">#3152</a>)</li>
<li>Fixed detector <code>FindReturnRef</code> not finding references
exposed from nested and inner classes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2042">#2042</a>)</li>
<li>Fix call graph, include non-parametric void methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3160">#3160</a>)</li>
<li>Fix multiple reporting of identical bugs messing up statistics (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3185">#3185</a>)</li>
<li>Added missing comma between line number and confidence when
describing matching and mismatching bugs for tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3187">#3187</a>)</li>
<li>Fixed method matchers with array types (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3203">#3203</a>)</li>
<li>Fix SARIF report's message property in Exception to meet the
standard (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3197">#3197</a>)</li>
<li>Fixed <code>FI_FINALIZER_NULLS_FIELDS</code> FPs for functions
called finalize() but not with the correct signature. (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3207">#3207</a>)</li>
<li>Fixed an error in the detection of bridge methods causing analysis
crashes (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3208">#3208</a>)</li>
<li>Fixed detector <code>ThrowingExceptions</code> by removing false
positive reports, such as synthetic methods (lambdas), methods which
inherited their exception specifications and methods which call throwing
methods (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/2040">#2040</a>)</li>
<li>Do not report <code>DP_DO_INSIDE_DO_PRIVILEGED</code>,
<code>DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED</code> and
<code>USC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE</code> in
code targeting Java 17 and above, since it advises the usage of
deprecated method (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/1515">#1515</a>).</li>
<li>Fixed a <code>RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT</code> false
positive for a builder delegating to another builder (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3235">#3235</a>)</li>
</ul>
<h3>Cleanup</h3>
<ul>
<li>Cleanup thread issue and regex issue in test-harness (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3130">#3130</a>)</li>
<li>Remove extra blank lines and remove public from interface objects as
inherently already public (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3131">#3131</a>)</li>
<li>Fix order of modifiers on properties/methods and ensure correct
location in file (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3132">#3132</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3177">#3177</a>)</li>
<li>Return objects directly instead of creating more garbage collection
by defining them (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3133">#3133</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3175">#3175</a>)</li>
<li>Restrict the constructor of abstract classes visibility to protected
(<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3178">#3178</a>)</li>
<li>Cleanup double initialization and fix comments referring to findbugs
instead of spotbugs(<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3134">#3134</a>)</li>
<li>Use diamond operator in constructor calls of Collections (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3176">#3176</a>)</li>
<li>Use <code>Collection.isEmpty()</code> or
<code>String.isEmpty()</code> to test for emptiness (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3180">#3180</a>,
<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3219">#3219</a>)</li>
<li>Use method references instead of lambdas where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3179">#3179</a>)</li>
<li>Move default clauses to the end of switches (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3222">#3222</a>)</li>
<li>Remove unnecessary throws declarations (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3220">#3220</a>)</li>
<li>Use <code>Boolean.parseBoolean()</code> for string-to-boolean
conversion. (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3217">#3217</a>)</li>
<li>Rename shadowing fields (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3221">#3221</a>)</li>
<li>Combine catch blocks with the same body (<a
href="https://redirect.github.com/spotbugs/spotbugs/pull/3223">#3223</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ef76e9be12a692b9ef7c5725ead8ddd98a7a538c"><code>ef76e9b</code></a>
release v4.9.0</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d64bfd2542ebdb0360d4e31e3e30bb23bdb468a6"><code>d64bfd2</code></a>
Remove legacy cvs / svn revision data as git doesn't use that (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3262">#3262</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/3d80c8020291d9d58afda568a5451fe6e832d019"><code>3d80c80</code></a>
Move documentation items and other build items to java 11 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3260">#3260</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ab2a9f7ec78b3af65131141a70606bf401e56f78"><code>ab2a9f7</code></a>
Fix map container to use interface, few missed double initialization,
and mis...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/b7f48c93e9a662344b4c3ea972f742f5b015f494"><code>b7f48c9</code></a>
[tests] Cleanup code within tests (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3259">#3259</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/8bc2966f3feb230f4a46ea3cd8fb9c589714e0d8"><code>8bc2966</code></a>
Move Eclipse to java 11 to match rest of the project (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3258">#3258</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/d3f97b3f0585822af2cc6718914c6ee6b58dd8fd"><code>d3f97b3</code></a>
Correct object creation for object to contain array marker not the
variable n...</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/ce7eac9e327d09465eff497edaf7b4ff5e11c801"><code>ce7eac9</code></a>
Use try with resources where possible (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3253">#3253</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/97ac6b6dbd9df95dd2dff4b5644afcf03d92811a"><code>97ac6b6</code></a>
chore(deps): update plugin com.diffplug.spotless to v7.0.2 (<a
href="https://redirect.github.com/spotbugs/spotbugs/issues/3255">#3255</a>)</li>
<li><a
href="https://github.com/spotbugs/spotbugs/commit/9f652a4d3e104bf6f87a56d65da317f17826ad8e"><code>9f652a4</code></a>
chore(deps): update dependency
com.diffplug.spotless:spotless-plugin-gradle t...</li>
<li>Additional commits viewable in <a
href="https://github.com/spotbugs/spotbugs/compare/4.8.6...4.9.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `org.sonatype.central:central-publishing-maven-plugin` from
0.6.0 to 0.7.0
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/sonatype/central-publishing-maven-plugin/commits">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jakub Stejskal <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakub Stejskal <[email protected]>
  • Loading branch information
dependabot[bot] and Frawless authored Jan 20, 2025
1 parent e77d84b commit cf2a054
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<maven.plugin.plugin.version>3.9.0</maven.plugin.plugin.version>
<maven.gpg.version>3.2.7</maven.gpg.version>
<maven.assembly.version>3.7.1</maven.assembly.version>
<sonatype.nexus.central>0.6.0</sonatype.nexus.central>
<sonatype.nexus.central>0.7.0</sonatype.nexus.central>

<log4j.version>2.24.3</log4j.version>
<slf4j.version>2.0.13</slf4j.version>
Expand All @@ -94,7 +94,7 @@
<jackson-dataformat-yaml.version>2.18.2</jackson-dataformat-yaml.version>

<!-- Build tools' properties -->
<spotbugs.version>4.8.6</spotbugs.version>
<spotbugs.version>4.9.0</spotbugs.version>
<maven.spotbugs.version>4.8.6.6</maven.spotbugs.version>
<maven.checkstyle.version>3.6.0</maven.checkstyle.version>

Expand Down
9 changes: 6 additions & 3 deletions src/main/java/io/skodjob/datagenerator/DataGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
package io.skodjob.datagenerator;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.skodjob.datagenerator.enums.ETemplateType;
Expand All @@ -16,6 +17,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.util.Objects;

/**
Expand Down Expand Up @@ -64,12 +66,13 @@ public Object generateData() {
* Generates JSON data based on the template type.
*
* @return the generated JSON data
* @throws IOException exception during JSON parsing
*/
public JsonNode generateJsonData() {
public JsonNode generateJsonData() throws IOException {
try {
return new ObjectMapper().readTree(generateData().toString());
} catch (Exception e) {
throw new RuntimeException("Error generating JSON data", e);
} catch (JsonProcessingException e) {
throw new IOException("Error generating JSON data", e);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/skodjob/datagenerator/DataGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void testValidateGeneratedData(String testName, String regex, DataGenerator gene
}

@Test
void testGenerateJsonData() {
void testGenerateJsonData() throws IOException {
checkJsonData(payrollDataGenerator);
checkJsonData(iotDataGenerator);
checkJsonData(stargateDataGenerator);
Expand All @@ -62,7 +62,7 @@ void testGenerateJsonData() {
checkJsonData(flightsGenerator);
}

void checkJsonData(DataGenerator generator) {
void checkJsonData(DataGenerator generator) throws IOException {
JsonNode jsonData = generator.generateJsonData();
assertNotNull(jsonData, "Generated JSON data should not be null for " + generator.getTemplateType());
assertTrue(jsonData.isObject(), "Generated JSON data should be a JSON object for " + generator.getTemplateType());
Expand Down

0 comments on commit cf2a054

Please sign in to comment.