Update PID and ramp rate values #50
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#L79
Switch label `0` is unreachable
|
Nullability and data flow problems:
src/main/java/frc/robot/Robot.java#L82
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#L180
Call to `toArray()` with pre-sized array argument 'new String\[clientAddresses.size()\]'
|
'Collection.toArray()' call style:
src/main/java/frc/robot/Robot.java#L178
Call to `toArray()` with pre-sized array argument 'new String\[clientNames.size()\]'
|