Skip to content

Commit 671b6a7

Browse files
committed
Style fixes
1 parent 0c5f1af commit 671b6a7

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

okhttp/src/test/java/io/grpc/okhttp/OkHttpClientTransportTest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,13 +2192,11 @@ public void finishedStreamRemovedFromInUseState() throws Exception {
21922192
initTransport();
21932193
setMaxConcurrentStreams(1);
21942194
final MockStreamListener listener = new MockStreamListener();
2195-
OkHttpClientStream stream =
2196-
(OkHttpClientStream) clientTransport.newStream(method, new Metadata(), CallOptions.DEFAULT,
2197-
tracers);
2195+
OkHttpClientStream stream = clientTransport.newStream(
2196+
method, new Metadata(), CallOptions.DEFAULT, tracers);
21982197
stream.start(listener);
2199-
OkHttpClientStream pendingStream =
2200-
(OkHttpClientStream) clientTransport.newStream(method, new Metadata(), CallOptions.DEFAULT,
2201-
tracers);
2198+
OkHttpClientStream pendingStream = clientTransport.newStream(
2199+
method, new Metadata(), CallOptions.DEFAULT, tracers);
22022200
pendingStream.start(listener);
22032201
waitForStreamPending(1);
22042202
clientTransport.finishStream(stream.transportState().id(), Status.OK, PROCESSED,

0 commit comments

Comments
 (0)