Remove empty block
Refactor a few classes so that empty blocks are not longer used. For
example, rather than:
if(x) {
} else {
i++;
}
use:
if(!x) {
i++;
}
Issue gh-8945
This commit is contained in:
@@ -533,10 +533,7 @@ public class AbstractAuthenticationProcessingFilterTests {
|
||||
}
|
||||
|
||||
public void doFilter(ServletRequest request, ServletResponse response) {
|
||||
if (expectToProceed) {
|
||||
|
||||
}
|
||||
else {
|
||||
if (!expectToProceed) {
|
||||
fail("Did not expect filter chain to proceed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user