Merge pull request #27 from OakvilleDynamics/chore/update-vendordeps #135
Annotations
6 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#L68
Switch label `1` is unreachable
|
Nullability and data flow problems:
src/main/java/frc/robot/Robot.java#L65
Switch label `0` is unreachable
|
Statement with empty body:
src/main/java/frc/robot/util/Time.java#L16
`while` statement has empty body
|
Pointless bitwise expression:
src/main/java/frc/robot/commands/FlyWCommand.java#L28
`315 | 0 | 45` can be replaced with '315 \| 45'
|
Simplifiable conditional expression:
src/main/java/frc/robot/subsystems/swervedrive/SwerveSubsystem.java#L124
`alliance.isPresent() ? alliance.get() == DriverStation.Alliance.Red : false` can be simplified to 'alliance.isPresent() \&\& alliance.get() == DriverStation.Alliance.Red'
|