mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Remove unnecessary boxing (#7539)
* Remove unnecessary boxing Also remove unnecessary warning suppression * Use more idiomatic functional interfaces in NumericalIntegration
This commit is contained in:
@@ -26,8 +26,8 @@ public class CounterTest extends AbstractComsSetup {
|
||||
private static FakeCounterFixture counter = null;
|
||||
private static final Logger logger = Logger.getLogger(CounterTest.class.getName());
|
||||
|
||||
Integer m_input;
|
||||
Integer m_output;
|
||||
int m_input;
|
||||
int m_output;
|
||||
|
||||
@Override
|
||||
protected Logger getClassLogger() {
|
||||
@@ -40,10 +40,7 @@ public class CounterTest extends AbstractComsSetup {
|
||||
* @param input The input Port
|
||||
* @param output The output Port
|
||||
*/
|
||||
public CounterTest(Integer input, Integer output) {
|
||||
assert input != null;
|
||||
assert output != null;
|
||||
|
||||
public CounterTest(int input, int output) {
|
||||
m_input = input;
|
||||
m_output = output;
|
||||
// System.out.println("Counter Test: Input: " + input + " Output: " +
|
||||
|
||||
Reference in New Issue
Block a user