mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Upgrade Gradle wrapper and plugins (#8767)
This fixes builds on JDK 26 for me.
This commit is contained in:
@@ -378,7 +378,7 @@ public final class DynamicStruct {
|
||||
* @throws IllegalArgumentException if field is not a member of this struct
|
||||
* @throws IllegalStateException if struct descriptor is invalid
|
||||
*/
|
||||
@SuppressWarnings({"PMD.CollapsibleIfStatements", "PMD.AvoidDeeplyNestedIfStmts"})
|
||||
@SuppressWarnings("PMD.CollapsibleIfStatements")
|
||||
public String getStringField(StructFieldDescriptor field) {
|
||||
if (field.getType() != StructFieldType.CHAR) {
|
||||
throw new UnsupportedOperationException("field is not char type");
|
||||
|
||||
@@ -11,11 +11,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
import java.util.Optional;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@SuppressWarnings({
|
||||
"PMD.TestClassWithoutTestCases",
|
||||
"PMD.UnusedFormalParameter",
|
||||
"RedundantModifier"
|
||||
})
|
||||
@SuppressWarnings({"PMD.TestClassWithoutTestCases", "RedundantModifier"})
|
||||
class ConstructorMatchTest {
|
||||
public static class TestClass {
|
||||
public TestClass() {}
|
||||
|
||||
Reference in New Issue
Block a user