Commit 259d0db 1 parent 2b91db7 commit 259d0db Copy full SHA for 259d0db
File tree 5 files changed +8
-11
lines changed
src/main/java/io/netty/bootstrap
5 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ To add a dependency using Maven:
9
9
<dependency >
10
10
<groupId >io.jpower.kcp</groupId >
11
11
<artifactId >kcp-netty</artifactId >
12
- <version >1.4.10 </version >
12
+ <version >1.4.11 </version >
13
13
</dependency >
14
14
```
15
15
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.jpower.kcp</groupId >
7
7
<artifactId >kcp-parent</artifactId >
8
- <version >1.4.10 </version >
8
+ <version >1.4.11 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >io.jpower.kcp</groupId >
7
7
<artifactId >kcp-parent</artifactId >
8
- <version >1.4.10 </version >
8
+ <version >1.4.11 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change @@ -96,16 +96,13 @@ public UkcpServerBootstrap childHandler(ChannelHandler childHandler) {
96
96
@ Override
97
97
void init (Channel channel ) {
98
98
setChannelOptions (channel , newOptionsArray (), logger );
99
- setAttributes (channel , attrs0 (). entrySet (). toArray ( EMPTY_ATTRIBUTE_ARRAY ));
99
+ setAttributes (channel , newAttributesArray ( ));
100
100
101
101
ChannelPipeline p = channel .pipeline ();
102
102
103
103
final ChannelHandler currentChildHandler = childHandler ;
104
- final Entry <ChannelOption <?>, Object >[] currentChildOptions ;
105
- synchronized (childOptions ) {
106
- currentChildOptions = childOptions .entrySet ().toArray (EMPTY_OPTION_ARRAY );
107
- }
108
- final Entry <AttributeKey <?>, Object >[] currentChildAttrs = childAttrs .entrySet ().toArray (EMPTY_ATTRIBUTE_ARRAY );
104
+ final Entry <ChannelOption <?>, Object >[] currentChildOptions = newOptionsArray (childOptions );
105
+ final Entry <AttributeKey <?>, Object >[] currentChildAttrs = newAttributesArray (childAttrs );
109
106
110
107
p .addLast (new ChannelInitializer <Channel >() {
111
108
@ Override
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.jpower.kcp</groupId >
8
8
<artifactId >kcp-parent</artifactId >
9
- <version >1.4.10 </version >
9
+ <version >1.4.11 </version >
10
10
<packaging >pom</packaging >
11
11
12
12
<name >kcp-netty [Parent]</name >
18
18
19
19
<properties >
20
20
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
- <netty .version>4.1.52 .Final</netty .version>
21
+ <netty .version>4.1.67 .Final</netty .version>
22
22
<slf4j .version>1.7.30</slf4j .version>
23
23
</properties >
24
24
You can’t perform that action at this time.
0 commit comments