Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bump odlparent to 6.0.0
[controller.git]
/
opendaylight
/
config
/
netty-threadgroup-config
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
yang
/
netty
/
threadgroup
/
NioEventLoopGroupCloseable.java
diff --git
a/opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/NioEventLoopGroupCloseable.java
b/opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/NioEventLoopGroupCloseable.java
index 51bf1f0e5272b99ae9aee636c903d8880da06bc9..1b80ec3b26bca7f6c0e290657fe1c509dfb5ba67 100644
(file)
--- a/
opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/NioEventLoopGroupCloseable.java
+++ b/
opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/NioEventLoopGroupCloseable.java
@@
-10,7
+10,7
@@
package org.opendaylight.controller.config.yang.netty.threadgroup;
import io.netty.channel.nio.NioEventLoopGroup;
import java.util.concurrent.TimeUnit;
import io.netty.channel.nio.NioEventLoopGroup;
import java.util.concurrent.TimeUnit;
-public class NioEventLoopGroupCloseable extends NioEventLoopGroup implements AutoCloseable {
+public
final
class NioEventLoopGroupCloseable extends NioEventLoopGroup implements AutoCloseable {
private NioEventLoopGroupCloseable(final int threadCount) {
super(threadCount);
}
private NioEventLoopGroupCloseable(final int threadCount) {
super(threadCount);
}
@@
-24,10
+24,10
@@
public class NioEventLoopGroupCloseable extends NioEventLoopGroup implements Aut
}
public static NioEventLoopGroupCloseable newInstance(final Integer threadCount) {
}
public static NioEventLoopGroupCloseable newInstance(final Integer threadCount) {
- if(threadCount == null || threadCount <= 0) {
+ if
(threadCount == null || threadCount <= 0) {
return new NioEventLoopGroupCloseable();
}
return new NioEventLoopGroupCloseable(threadCount);
}
return new NioEventLoopGroupCloseable();
}
return new NioEventLoopGroupCloseable(threadCount);
}
-}
\ No newline at end of file
+}