mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Checkstyle 8.1 (#584)
Added a few checks too: - SimplifyBooleanExpression - SimplifyBooleanReturn - StringLiteralEquality - UnnecessaryParentheses
This commit is contained in:
committed by
Peter Johnson
parent
3cfcbe9a95
commit
ddd5aeba19
@@ -23,7 +23,7 @@ import java.io.File;
|
||||
public class AntJunitLanucher {
|
||||
|
||||
/**
|
||||
* Main entry point for jenkins
|
||||
* Main entry point for jenkins.
|
||||
*
|
||||
* @param args Arguments passed to java.
|
||||
*/
|
||||
|
||||
@@ -343,7 +343,7 @@ public final class TestBench {
|
||||
false));
|
||||
encoderPortPairs.addAll(getPairArray(getDIOCrossConnect().get(1), getDIOCrossConnect().get(0),
|
||||
false));
|
||||
assert (encoderPortPairs.size() == 8);
|
||||
assert encoderPortPairs.size() == 8;
|
||||
return encoderPortPairs;
|
||||
}
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ public class TestSuite extends AbstractTestSuite {
|
||||
|
||||
/**
|
||||
* Parses the arguments passed at runtime and runs the appropriate tests based upon these
|
||||
* arguments
|
||||
* arguments.
|
||||
*
|
||||
* @param args the args passed into the program at runtime
|
||||
* @return the restults of the tests that have run. If no tests were run then null is returned.
|
||||
|
||||
Reference in New Issue
Block a user