mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +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");
|
||||
|
||||
Reference in New Issue
Block a user