From 23f881b382b127b6e0e7016413f389209376e932 Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Thu, 26 Mar 2015 13:01:22 -0700 Subject: [PATCH] Comment punctuation cleanup Motivation: Commit d857b16d76aec487627df1cea6185714859eb15e introduced some comments that had no punctuation. Modifications: Add punctuation. Result: Comments have punctuation. --- .../handler/codec/http2/Http2ConnectionHandlerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java b/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java index 843d277447..918c3f704b 100644 --- a/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java +++ b/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java @@ -247,17 +247,17 @@ public class Http2ConnectionHandlerTest { public ChannelFuture answer(InvocationOnMock invocation) throws Throwable { Object[] args = invocation.getArguments(); ChannelFutureListener listener = (ChannelFutureListener) args[0]; - // Simulate that all streams have become inactive by the time the future completes + // Simulate that all streams have become inactive by the time the future completes. when(connection.activeStreams()).thenReturn(Collections.emptyList()); when(connection.numActiveStreams()).thenReturn(0); - // Simulate the future being completed + // Simulate the future being completed. listener.operationComplete(future); return future; } }).when(future).addListener(any(GenericFutureListener.class)); handler.close(ctx, promise); handler.closeStream(stream, future); - // Simulate another stream close call being made after the context should already be closed + // Simulate another stream close call being made after the context should already be closed. handler.closeStream(stream, future); verify(ctx, times(1)).close(any(ChannelPromise.class)); }