Skip to content

Commit 8fca7e4

Browse files
committed
test: Fix checkstyle violations in MirroringInterceptorTest
1 parent 20fd457 commit 8fca7e4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

inprocess/src/test/java/io/grpc/inprocess/MirroringInterceptorTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import io.grpc.util.MirroringInterceptor;
3535
import java.nio.charset.StandardCharsets;
3636
import java.util.concurrent.CountDownLatch;
37-
import java.util.concurrent.Executor;
3837
import java.util.concurrent.TimeUnit;
3938
import java.util.concurrent.atomic.AtomicBoolean;
4039
import java.util.concurrent.atomic.AtomicInteger;
@@ -79,7 +78,9 @@ private String buildAutoCloseServer(CountDownLatch latch, AtomicBoolean headerVe
7978
if (key != null && expectedValue.equals(headers.get(key))) {
8079
headerVerified.set(true);
8180
}
82-
if (latch != null) latch.countDown();
81+
if (latch != null) {
82+
latch.countDown();
83+
}
8384
call.sendHeaders(new Metadata());
8485
call.close(Status.OK, new Metadata());
8586
return new ServerCall.Listener<String>() {};

0 commit comments

Comments
 (0)