Skip to content

Commit eb48822

Browse files
authored
chore: remove repetitive words (#13972)
Motivation: Remove repetitive words Modifications: Remove words Result: Cleanup Signed-off-by: laterlaugh <manziwenzhai@sina.cn>
1 parent 0e436dd commit eb48822

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void writeWithNonActiveStreamShouldNotDobuleAddToPriorityQueue() throws H
107107
// Block B, but it should still remain in the queue/tree structure.
108108
initState(STREAM_B, 0, false);
109109

110-
// Get the streams before the write, because they may be be closed.
110+
// Get the streams before the write, because they may be closed.
111111
Http2Stream streamA = stream(STREAM_A);
112112
Http2Stream streamB = stream(STREAM_B);
113113
Http2Stream streamC = stream(STREAM_C);

resolver-dns/src/main/java/io/netty/resolver/dns/SequentialDnsServerAddressStreamProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
public final class SequentialDnsServerAddressStreamProvider extends UniSequentialDnsServerAddressStreamProvider {
2626
/**
2727
* Create a new instance.
28-
* @param addresses The addresses which will be be returned in sequential order via
28+
* @param addresses The addresses which will be returned in sequential order via
2929
* {@link #nameServerAddressStream(String)}
3030
*/
3131
public SequentialDnsServerAddressStreamProvider(InetSocketAddress... addresses) {
@@ -34,7 +34,7 @@ public SequentialDnsServerAddressStreamProvider(InetSocketAddress... addresses)
3434

3535
/**
3636
* Create a new instance.
37-
* @param addresses The addresses which will be be returned in sequential order via
37+
* @param addresses The addresses which will be returned in sequential order via
3838
* {@link #nameServerAddressStream(String)}
3939
*/
4040
public SequentialDnsServerAddressStreamProvider(Iterable<? extends InetSocketAddress> addresses) {

transport/src/main/java/io/netty/channel/socket/nio/NioServerSocketChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private ServerSocketChannel jdkChannel() {
242242
}
243243
}
244244

245-
// Override just to to be able to call directly via unit tests.
245+
// Override just to be able to call directly via unit tests.
246246
@Override
247247
protected boolean closeOnReadError(Throwable cause) {
248248
return super.closeOnReadError(cause);

0 commit comments

Comments
 (0)