diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java
index 1f100cb77f..e2fcc334e0 100644
--- a/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java
+++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java
@@ -593,7 +593,7 @@ public class DefaultHttp2FrameWriter implements Http2FrameWriter, Http2FrameSize
if (paddingBytes(padding) > 0) {
ctx.write(ZERO_BUFFER.slice(0, paddingBytes(padding)), promiseAggregator.newPromise());
}
- } while(headerBlock.isReadable());
+ } while (headerBlock.isReadable());
}
return promiseAggregator;
}
diff --git a/pom.xml b/pom.xml
index 02978318b0..f646405beb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -256,7 +256,7 @@
${project.build.directory}/dev-tools
UTF-8
UTF-8
- 24
+ 25
1.4.11.Final
2.0.8
"${settings.localRepository}"/org/mortbay/jetty/alpn/jetty-alpn-agent/${jetty.alpnAgent.version}/jetty-alpn-agent-${jetty.alpnAgent.version}.jar
@@ -816,6 +816,11 @@
+
+ com.puppycrawl.tools
+ checkstyle
+ 8.18
+
${project.groupId}
netty-build
diff --git a/transport-native-epoll/src/main/java/io/netty/channel/epoll/Native.java b/transport-native-epoll/src/main/java/io/netty/channel/epoll/Native.java
index 1eb2e5d3ff..0f5796896b 100644
--- a/transport-native-epoll/src/main/java/io/netty/channel/epoll/Native.java
+++ b/transport-native-epoll/src/main/java/io/netty/channel/epoll/Native.java
@@ -141,7 +141,7 @@ public final class Native {
throw newIOException("epoll_ctl", res);
}
}
- private static native int epollCtlAdd0(int efd, final int fd, final int flags);
+ private static native int epollCtlAdd0(int efd, int fd, int flags);
public static void epollCtlMod(int efd, final int fd, final int flags) throws IOException {
int res = epollCtlMod0(efd, fd, flags);
@@ -149,7 +149,7 @@ public final class Native {
throw newIOException("epoll_ctl", res);
}
}
- private static native int epollCtlMod0(int efd, final int fd, final int flags);
+ private static native int epollCtlMod0(int efd, int fd, int flags);
public static void epollCtlDel(int efd, final int fd) throws IOException {
int res = epollCtlDel0(efd, fd);
@@ -157,7 +157,7 @@ public final class Native {
throw newIOException("epoll_ctl", res);
}
}
- private static native int epollCtlDel0(int efd, final int fd);
+ private static native int epollCtlDel0(int efd, int fd);
// File-descriptor operations
public static int splice(int fd, long offIn, int fdOut, long offOut, long len) throws IOException {