OpenSearch/plugins/mapper-annotated-text
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 New plugin - Annotated_text field type (#30364) 2018-09-18 10:25:27 +01:00