Code cleanup to fix checkstyle issue.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2020-11-19 17:34:20 +01:00
parent 88c03ac1dc
commit 7726c2ebcb
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ public class HttpInputIntegrationTest
case ASYNC_OTHER_WAIT:
{
CountDownLatch latch = new CountDownLatch(1);
HttpChannelState.State S = request.getHttpChannelState().getState();
HttpChannelState.State state = request.getHttpChannelState().getState();
new Thread(() ->
{
try
@ -249,7 +249,7 @@ public class HttpInputIntegrationTest
fail("latch expired");
// Spin until state change
while (request.getHttpChannelState().getState() == S)
while (request.getHttpChannelState().getState() == state)
{
Thread.yield();
}