Commit 1c7f0fa
authored
Make initializer as
Motivation:
I went through native transport and found that we don't explicitly mark
class initializers as `static`. We should mark them as `static`.
Modification:
Made initializers as `static`
Result:
Clean code and no more IDE warning pings.static (#13506)1 parent dc16c58 commit 1c7f0fa
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- transport-classes-epoll/src/main/java/io/netty/channel/epoll
- transport-classes-kqueue/src/main/java/io/netty/channel/kqueue
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments