[TEST] move variable assignment one line above
This commit is contained in:
parent
fcc60609ae
commit
c2fc65352a
|
@ -51,8 +51,8 @@ public class CountRequestTests extends ESTestCase {
|
|||
if (randomBoolean()) {
|
||||
countRequest.preference(randomAsciiOfLengthBetween(1, 10));
|
||||
}
|
||||
final boolean querySet;
|
||||
if (querySet = randomBoolean()) {
|
||||
final boolean querySet = randomBoolean();
|
||||
if (querySet) {
|
||||
countRequest.query(QueryBuilders.termQuery("field", "value"));
|
||||
}
|
||||
if (randomBoolean()) {
|
||||
|
|
Loading…
Reference in New Issue