mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Require non null (#580)
* Replace null checks with Objects.requireNonNull() * Use PMD rule instead of checkstyle rule
This commit is contained in:
committed by
Peter Johnson
parent
06321b8e87
commit
74df3fac4e
@@ -170,6 +170,7 @@ public abstract class MotorEncoderFixture<T extends SpeedController> implements
|
||||
* deallocated.
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("Regexp")
|
||||
public boolean teardown() {
|
||||
String type;
|
||||
if (m_motor != null) {
|
||||
|
||||
Reference in New Issue
Block a user