mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +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:
@@ -11,6 +11,7 @@ package edu.wpi.first.math.interpolation;
|
||||
*
|
||||
* @param <T> The class that is interpolatable.
|
||||
*/
|
||||
@SuppressWarnings("PMD.ImplicitFunctionalInterface")
|
||||
public interface Interpolatable<T> {
|
||||
/**
|
||||
* Return the interpolated value. This object is assumed to be the starting position, or lower
|
||||
|
||||
@@ -226,7 +226,7 @@ public final class SplineHelper {
|
||||
* @param splines An array of un-optimized quintic splines.
|
||||
* @return An array of optimized quintic splines.
|
||||
*/
|
||||
@SuppressWarnings({"LocalVariableName", "PMD.AvoidInstantiatingObjectsInLoops"})
|
||||
@SuppressWarnings("LocalVariableName")
|
||||
public static QuinticHermiteSpline[] optimizeCurvature(QuinticHermiteSpline[] splines) {
|
||||
// If there's only spline in the array, we can't optimize anything so just return that.
|
||||
if (splines.length < 2) {
|
||||
|
||||
Reference in New Issue
Block a user