[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

@@ -52,7 +52,7 @@ public abstract class AbstractInterruptTest extends AbstractComsSetup {
abstract void setInterruptLow();
@Test(timeout = 1000)
public void testSingleInterruptsTriggering() throws Exception {
public void testSingleInterruptsTriggering() {
// Given
// final InterruptCounter counter = new InterruptCounter();
// TestInterruptHandlerFunction function = new

View File

@@ -70,7 +70,7 @@ public class PCMTest extends AbstractComsSetup {
/** Test if the compressor turns on and off when the pressure switch is toggled. */
@Test
public void testPressureSwitch() throws Exception {
public void testPressureSwitch() {
final double range = 0.5;
reset();
pcm.enableCompressorDigital();
@@ -96,7 +96,7 @@ public class PCMTest extends AbstractComsSetup {
/** Test if the correct solenoids turn on and off when they should. */
@Test
public void testSolenoid() throws Exception {
public void testSolenoid() {
reset();
Solenoid solenoid1 = new Solenoid(PneumaticsModuleType.CTREPCM, 0);
@@ -174,7 +174,7 @@ public class PCMTest extends AbstractComsSetup {
/** Test if the correct solenoids turn on and off when they should. */
@Test
public void testOneShot() throws Exception {
public void testOneShot() {
reset();
Solenoid solenoid1 = new Solenoid(PneumaticsModuleType.CTREPCM, 0);