mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
[build] Upgrade Gradle plugins (#8166)
I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made breaking changes, and I couldn't figure out how to migrate. Most of the changes are for suppressing new linter purification rites.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables BooleanArray implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class BooleanArrayEntryImpl extends EntryBase implements BooleanArrayEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables BooleanArray subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface BooleanArraySubscriber extends Subscriber, Supplier<boolean[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables Boolean implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class BooleanEntryImpl extends EntryBase implements BooleanEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
/** NetworkTables Boolean subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface BooleanSubscriber extends Subscriber, BooleanSupplier {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables DoubleArray implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class DoubleArrayEntryImpl extends EntryBase implements DoubleArrayEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables DoubleArray subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface DoubleArraySubscriber extends Subscriber, Supplier<double[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables Double implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class DoubleEntryImpl extends EntryBase implements DoubleEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.DoubleSupplier;
|
||||
|
||||
/** NetworkTables Double subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface DoubleSubscriber extends Subscriber, DoubleSupplier {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables FloatArray implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class FloatArrayEntryImpl extends EntryBase implements FloatArrayEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables FloatArray subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface FloatArraySubscriber extends Subscriber, Supplier<float[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables Float implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class FloatEntryImpl extends EntryBase implements FloatEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import edu.wpi.first.util.function.FloatSupplier;
|
||||
|
||||
/** NetworkTables Float subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface FloatSubscriber extends Subscriber, FloatSupplier {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables generic subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface GenericSubscriber extends Subscriber, Supplier<NetworkTableValue> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables IntegerArray implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class IntegerArrayEntryImpl extends EntryBase implements IntegerArrayEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables IntegerArray subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface IntegerArraySubscriber extends Subscriber, Supplier<long[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables Integer implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class IntegerEntryImpl extends EntryBase implements IntegerEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.LongSupplier;
|
||||
|
||||
/** NetworkTables Integer subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface IntegerSubscriber extends Subscriber, LongSupplier {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -9,7 +9,7 @@ package edu.wpi.first.networktables;
|
||||
import java.util.Objects;
|
||||
|
||||
/** A network table entry value. */
|
||||
@SuppressWarnings({"UnnecessaryParentheses", "PMD.MethodReturnsInternalArray"})
|
||||
@SuppressWarnings("UnnecessaryParentheses")
|
||||
public final class NetworkTableValue {
|
||||
NetworkTableValue(NetworkTableType type, Object value, long time, long serverTime) {
|
||||
m_type = type;
|
||||
@@ -668,7 +668,6 @@ public final class NetworkTableValue {
|
||||
return out;
|
||||
}
|
||||
|
||||
@SuppressWarnings("PMD.AvoidArrayLoops")
|
||||
static double[] toNativeDoubleArray(Number[] arr) {
|
||||
double[] out = new double[arr.length];
|
||||
for (int i = 0; i < arr.length; i++) {
|
||||
@@ -677,7 +676,6 @@ public final class NetworkTableValue {
|
||||
return out;
|
||||
}
|
||||
|
||||
@SuppressWarnings("PMD.AvoidArrayLoops")
|
||||
static long[] toNativeIntegerArray(Number[] arr) {
|
||||
long[] out = new long[arr.length];
|
||||
for (int i = 0; i < arr.length; i++) {
|
||||
@@ -686,7 +684,6 @@ public final class NetworkTableValue {
|
||||
return out;
|
||||
}
|
||||
|
||||
@SuppressWarnings("PMD.AvoidArrayLoops")
|
||||
static float[] toNativeFloatArray(Number[] arr) {
|
||||
float[] out = new float[arr.length];
|
||||
for (int i = 0; i < arr.length; i++) {
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/** NetworkTables Raw implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class RawEntryImpl extends EntryBase implements RawEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables Raw subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface RawSubscriber extends Subscriber, Supplier<byte[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables StringArray implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class StringArrayEntryImpl extends EntryBase implements StringArrayEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables StringArray subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface StringArraySubscriber extends Subscriber, Supplier<String[]> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables String implementation. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
final class StringEntryImpl extends EntryBase implements StringEntry {
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
@@ -9,7 +9,6 @@ package edu.wpi.first.networktables;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/** NetworkTables String subscriber. */
|
||||
@SuppressWarnings("PMD.MissingOverride")
|
||||
public interface StringSubscriber extends Subscriber, Supplier<String> {
|
||||
/**
|
||||
* Get the corresponding topic.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped Boolean. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedBoolean {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped BooleanArray. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedBooleanArray {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped Double. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedDouble {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped DoubleArray. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedDoubleArray {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped Float. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedFloat {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped FloatArray. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedFloatArray {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped Integer. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedInteger {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped IntegerArray. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedIntegerArray {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped Raw. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedRaw {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped String. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedString {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.networktables;
|
||||
|
||||
/** NetworkTables timestamped StringArray. */
|
||||
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
|
||||
public final class TimestampedStringArray {
|
||||
/**
|
||||
* Create a timestamped value.
|
||||
|
||||
Reference in New Issue
Block a user