mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[build] Upgrade to PMD 7.2.0 (#6718)
This commit is contained in:
@@ -41,6 +41,7 @@ public class ParallelRaceGroup extends Command {
|
||||
*
|
||||
* @param commands Commands to add to the group.
|
||||
*/
|
||||
@SuppressWarnings("PMD.UseArraysAsList")
|
||||
public final void addCommands(Command... commands) {
|
||||
if (!m_finished) {
|
||||
throw new IllegalStateException(
|
||||
|
||||
@@ -38,6 +38,7 @@ public class SequentialCommandGroup extends Command {
|
||||
*
|
||||
* @param commands Commands to add, in order of execution.
|
||||
*/
|
||||
@SuppressWarnings("PMD.UseArraysAsList")
|
||||
public final void addCommands(Command... commands) {
|
||||
if (m_currentCommandIndex != -1) {
|
||||
throw new IllegalStateException(
|
||||
|
||||
Reference in New Issue
Block a user