[build] Upgrade to spotbugs Gradle plugin 5.0.8 (#4310)

This fixes a SecurityManager deprecation warning generated by spotbugs.
This commit is contained in:
Tyler Veness
2022-06-14 20:26:53 -07:00
committed by GitHub
parent fd884581e4
commit aebc272449
7 changed files with 21 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ public class ExternalDirectionCounter implements Sendable, AutoCloseable {
}
@Override
public void close() throws Exception {
public void close() {
SendableRegistry.remove(this);
CounterJNI.freeCounter(m_handle);
CounterJNI.suppressUnused(m_countSource);

View File

@@ -52,7 +52,7 @@ public class Tachometer implements Sendable, AutoCloseable {
}
@Override
public void close() throws Exception {
public void close() {
SendableRegistry.remove(this);
CounterJNI.freeCounter(m_handle);
CounterJNI.suppressUnused(m_source);

View File

@@ -66,7 +66,7 @@ public class UpDownCounter implements Sendable, AutoCloseable {
}
@Override
public void close() throws Exception {
public void close() {
SendableRegistry.remove(this);
CounterJNI.freeCounter(m_handle);
CounterJNI.suppressUnused(m_upSource);