Checkstyle 8.1 (#584)

Added a few checks too:
- SimplifyBooleanExpression
- SimplifyBooleanReturn
- StringLiteralEquality
- UnnecessaryParentheses
This commit is contained in:
Austin Shalit
2017-07-28 22:24:05 -07:00
committed by Peter Johnson
parent 3cfcbe9a95
commit ddd5aeba19
27 changed files with 68 additions and 37 deletions

View File

@@ -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.
*/

View File

@@ -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;
}

View File

@@ -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.