Merge pull request #35 from OakvilleDynamics/new-autopaths #150
Annotations
5 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#L66
Switch label `0` is unreachable
|
Nullability and data flow problems:
src/main/java/frc/robot/Robot.java#L69
Switch label `1` is unreachable
|
Statement with empty body:
src/main/java/frc/robot/util/Time.java#L16
`while` statement has empty body
|
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'
|