OpenSearch/modules/percolator
Christoph Büscher b654d986d7
Add OneStatementPerLineCheck to Checkstyle rules (#33682)
This change adds the OneStatementPerLineCheck to our checkstyle precommit
checks. This rule restricts the number of statements per line to one. The
resoning behind this is that it is very difficult to read multiple statements on
one line. People seem to mostly use it in short lambdas and switch statements in
our code base, but just going through the changes already uncovered some actual
problems in randomization in test code, so I think its worth it.
2018-09-21 11:52:31 +02:00
..
src Add OneStatementPerLineCheck to Checkstyle rules (#33682) 2018-09-21 11:52:31 +02:00
build.gradle Build: Replace provided configuration with compileOnly (#28564) 2018-02-09 11:30:24 -08:00