mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[build] Change defaults for Java lints (#4300)
Removes the need to individually suppress the "serial" warning.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
package edu.wpi.first.hal.util;
|
||||
|
||||
/** Exception indicating that the resource is already allocated. */
|
||||
@SuppressWarnings("serial")
|
||||
public class AllocationException extends RuntimeException {
|
||||
/**
|
||||
* Create a new AllocationException.
|
||||
|
||||
@@ -7,7 +7,6 @@ package edu.wpi.first.hal.util;
|
||||
/**
|
||||
* This exception represents an error in which a lower limit was set as higher than an upper limit.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class BoundaryException extends RuntimeException {
|
||||
/**
|
||||
* Create a new exception with the given message.
|
||||
|
||||
@@ -8,7 +8,6 @@ package edu.wpi.first.hal.util;
|
||||
* Exception indicating that the resource is already allocated This is meant to be thrown by the
|
||||
* resource class.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class CheckedAllocationException extends Exception {
|
||||
/**
|
||||
* Create a new CheckedAllocationException.
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
package edu.wpi.first.hal.util;
|
||||
|
||||
/** Exception indicating that an error has occurred with a HAL Handle. */
|
||||
@SuppressWarnings("serial")
|
||||
public class HalHandleException extends RuntimeException {
|
||||
/**
|
||||
* Create a new HalHandleException.
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
package edu.wpi.first.hal.util;
|
||||
|
||||
/** Exception for bad status codes from the chip object. */
|
||||
@SuppressWarnings("serial")
|
||||
public final class UncleanStatusException extends IllegalStateException {
|
||||
private final int m_statusCode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user