Reuse constant

Format tweak
This commit is contained in:
Gary Gregory 2022-10-03 09:46:58 -04:00
parent 5cf676b5b9
commit 341b578b4f
2 changed files with 3 additions and 3 deletions

View File

@ -30,6 +30,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.AbstractLangTest;
import org.apache.commons.lang3.ArrayUtils;
import org.junit.jupiter.api.Test;
/**
@ -407,8 +408,7 @@ public class EventCountCircuitBreakerTest extends AbstractLangTest {
* @param values the expected values
*/
public void verify(final Boolean... values) {
assertArrayEquals(values,
changedValues.toArray(new Boolean[0]));
assertArrayEquals(values, changedValues.toArray(ArrayUtils.EMPTY_BOOLEAN_OBJECT_ARRAY));
}
}
}