forked from phoedos/pmd
Fix PMD warning
This commit is contained in:
parent
ee5fa8ee94
commit
c1b8d6a5d8
@ -72,7 +72,7 @@ public class RuleTestRunner extends ParentRunner<TestDescriptor> {
|
||||
RuleTestDescriptor focused = ruleTests.getFocusedTestOrNull();
|
||||
for (RuleTestDescriptor t : ruleTests.getTests()) {
|
||||
TestDescriptor td = new TestDescriptor(t);
|
||||
if (focused != null && focused != t) {
|
||||
if (focused != null && !focused.equals(t)) {
|
||||
td.setRegressionTest(false); // disable it
|
||||
}
|
||||
tests.add(td);
|
||||
|
Loading…
x
Reference in New Issue
Block a user