mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Upgrade Maven dependencies (#5553)
The following source code changes were required: * Whitespace changes from spotless * PMD warning suppressions for utility class tests * PMD warning rename from "BeanMembersShouldSerialize" to "NonSerializableClass" * Declared more class members as final
This commit is contained in:
@@ -44,8 +44,10 @@ public class Encoder implements CounterBase, Sendable, AutoCloseable {
|
||||
|
||||
/** The 'a' source. */
|
||||
protected DigitalSource m_aSource; // the A phase of the quad encoder
|
||||
|
||||
/** The 'b' source. */
|
||||
protected DigitalSource m_bSource; // the B phase of the quad encoder
|
||||
|
||||
/** The index source. */
|
||||
protected DigitalSource m_indexSource; // Index on some encoders
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ import java.util.EnumSet;
|
||||
public final class Preferences {
|
||||
/** The Preferences table name. */
|
||||
private static final String TABLE_NAME = "Preferences";
|
||||
|
||||
/** The network table. */
|
||||
private static NetworkTable m_table;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import java.util.function.BooleanSupplier;
|
||||
public class BooleanEvent implements BooleanSupplier {
|
||||
/** Poller loop. */
|
||||
protected final EventLoop m_loop;
|
||||
|
||||
/** Condition. */
|
||||
private final BooleanSupplier m_signal;
|
||||
|
||||
|
||||
@@ -36,14 +36,19 @@ import java.util.function.Consumer;
|
||||
public class SendableChooser<V> implements NTSendable, AutoCloseable {
|
||||
/** The key for the default value. */
|
||||
private static final String DEFAULT = "default";
|
||||
|
||||
/** The key for the selected option. */
|
||||
private static final String SELECTED = "selected";
|
||||
|
||||
/** The key for the active option. */
|
||||
private static final String ACTIVE = "active";
|
||||
|
||||
/** The key for the option array. */
|
||||
private static final String OPTIONS = "options";
|
||||
|
||||
/** The key for the instance number. */
|
||||
private static final String INSTANCE = ".instance";
|
||||
|
||||
/** A map linking strings to the objects they represent. */
|
||||
private final Map<String, V> m_map = new LinkedHashMap<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user