Fix JDK 21 warnings (#6028)

This commit is contained in:
Tyler Veness
2023-12-09 21:45:02 -08:00
committed by GitHub
parent d40bdd70ba
commit 192a28af47
101 changed files with 164 additions and 57 deletions

View File

@@ -265,7 +265,7 @@ public class LinearSystemLoop<States extends Num, Inputs extends Num, Outputs ex
*
* @param initialState The initial state.
*/
public void reset(Matrix<States, N1> initialState) {
public final void reset(Matrix<States, N1> initialState) {
m_nextR.fill(0.0);
m_controller.reset();
m_feedforward.reset(initialState);