Skip to content

Commit

Permalink
chore: remove repetitive words (#13972)
Browse files Browse the repository at this point in the history
Motivation:

Remove repetitive words

Modifications:

Remove words

Result:

Cleanup


Signed-off-by: laterlaugh <manziwenzhai@sina.cn>
  • Loading branch information
laterlaugh committed Apr 15, 2024
1 parent 0e436dd commit eb48822
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void writeWithNonActiveStreamShouldNotDobuleAddToPriorityQueue() throws H
// Block B, but it should still remain in the queue/tree structure.
initState(STREAM_B, 0, false);

// Get the streams before the write, because they may be be closed.
// Get the streams before the write, because they may be closed.
Http2Stream streamA = stream(STREAM_A);
Http2Stream streamB = stream(STREAM_B);
Http2Stream streamC = stream(STREAM_C);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public final class SequentialDnsServerAddressStreamProvider extends UniSequentialDnsServerAddressStreamProvider {
/**
* Create a new instance.
* @param addresses The addresses which will be be returned in sequential order via
* @param addresses The addresses which will be returned in sequential order via
* {@link #nameServerAddressStream(String)}
*/
public SequentialDnsServerAddressStreamProvider(InetSocketAddress... addresses) {
Expand All @@ -34,7 +34,7 @@ public SequentialDnsServerAddressStreamProvider(InetSocketAddress... addresses)

/**
* Create a new instance.
* @param addresses The addresses which will be be returned in sequential order via
* @param addresses The addresses which will be returned in sequential order via
* {@link #nameServerAddressStream(String)}
*/
public SequentialDnsServerAddressStreamProvider(Iterable<? extends InetSocketAddress> addresses) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private ServerSocketChannel jdkChannel() {
}
}

// Override just to to be able to call directly via unit tests.
// Override just to be able to call directly via unit tests.
@Override
protected boolean closeOnReadError(Throwable cause) {
return super.closeOnReadError(cause);
Expand Down

0 comments on commit eb48822

Please sign in to comment.