Merge pull request #1 from garrettsummerfi3ld/dependabot/gradle/edu.w… #46
Annotations
7 warnings
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: JetBrains/qodana-action@v2023.3.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Nullability and data flow problems:
src/main/java/frc/robot/Robot.java#L78
Switch label `0` is unreachable
|
Nullability and data flow problems:
src/main/java/frc/robot/Robot.java#L81
Switch label `1` is unreachable
|
Inner class may be 'static':
src/main/java/frc/robot/Constants.java#L33
Inner class `HardwareConstants` may be 'static'
|
Simplifiable conditional expression:
src/main/java/frc/robot/subsystems/swerve/SwerveSubsystem.java#L121
`alliance.isPresent() ? alliance.get() == DriverStation.Alliance.Red : false` can be simplified to 'alliance.isPresent() \&\& alliance.get() == DriverStation.Alliance.Red'
|
'Collection.toArray()' call style:
src/main/java/frc/robot/Robot.java#L174
Call to `toArray()` with pre-sized array argument 'new String\[clientNames.size()\]'
|
'Collection.toArray()' call style:
src/main/java/frc/robot/Robot.java#L176
Call to `toArray()` with pre-sized array argument 'new String\[clientAddresses.size()\]'
|