Skip to content

Merge pull request #50 from BadRobots1014/intake-subsystem #269

Merge pull request #50 from BadRobots1014/intake-subsystem

Merge pull request #50 from BadRobots1014/intake-subsystem #269

Triggered via push April 4, 2024 10:09
Status Success
Total duration 2m 7s
Artifacts

code_quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

61 warnings
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L65
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ClimberSubsystem.java#L30
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L104
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L34
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L50
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L43
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L54
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/RobotContainer.java#L89
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L109
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L71
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L63
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L59
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L39
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L67
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L105
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L105
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L168
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L51
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L106
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L102
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L73
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L104
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L37
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/IntakeSubsystem.java#L36
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L106
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L107
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L40
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L69
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L44
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L100
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L56
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L98
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L47
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L108
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L99
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L36
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L101
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L35
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/IntakeSubsystem.java#L34
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L36
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L56
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L77
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L33
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/IntakeSubsystem.java#L35
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L38
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L61
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L35
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ClimberSubsystem.java#L29
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L103
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/util/SwerveModule.java#L110
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/LimelightSubsystem.java#L42
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L107
'SuppliedValueWidget' used without 'try'-with-resources statement
Constant values: src/main/java/frc/robot/commands/TurnThetaCommand.java#L74
Condition `Math.abs(ySpeed) > OIConstants.kDriveDeadband` is always `false`
Constant values: src/main/java/frc/robot/commands/TurnThetaCommand.java#L73
Condition `Math.abs(xSpeed) > OIConstants.kDriveDeadband` is always `false`
Nullability and data flow problems: src/main/java/frc/robot/subsystems/SwerveSubsystem.java#L188
Method invocation `setDesiredState` may produce `NullPointerException`
Unused assignment: src/main/java/frc/robot/commands/TurnThetaCommand.java#L62
Variable `ySpeed` initializer `ySpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L56
Variable `ySpeed` initializer `0` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnThetaCommand.java#L63
Variable `turningSpeed` initializer `turningSpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnThetaCommand.java#L61
Variable `xSpeed` initializer `xSpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L56
Variable `xSpeed` initializer `0` is redundant