From af614e4d6e310da70653217a45666f93e9fc9e60 Mon Sep 17 00:00:00 2001 From: jingene Date: Wed, 10 Jul 2019 04:09:42 +0900 Subject: [PATCH] Change the netty.io homepage scheme(http -> https) (#9344) Motivation: Netty homepage(netty.io) serves both "http" and "https". It's recommended to use https than http. Modification: I changed from "http://netty.io" to "https://netty.io" Result: No effects. --- .github/CONTRIBUTING.md | 2 +- CONTRIBUTING.md | 2 +- NOTICE.txt | 2 +- README.md | 10 ++++----- bom/pom.xml | 8 +++---- .../codec/http/QueryStringDecoder.java | 2 +- .../WebSocketServerHandshaker13.java | 4 ++-- .../codec/http/websocketx/package-info.java | 10 ++++----- .../handler/codec/http2/Http2FrameCodec.java | 2 +- .../codec/http2/Http2MultiplexCodec.java | 2 +- .../codec/http2/Http2MultiplexHandler.java | 2 +- .../handler/codec/xml/XmlDecoderTest.java | 22 +++++++++---------- .../io/netty/handler/codec/xml/sample-04.xml | 8 +++---- .../io/netty/util/ResourceLeakDetector.java | 4 ++-- .../java/io/netty/handler/ssl/OpenSsl.java | 12 +++++----- .../java/io/netty/handler/ssl/PemReader.java | 2 +- microbench/README.md | 2 +- pom.xml | 8 +++---- transport-native-epoll/README.md | 2 +- .../java/io/netty/channel/epoll/Epoll.java | 18 ++++++++------- .../java/io/netty/channel/kqueue/KQueue.java | 16 ++++++++------ 21 files changed, 72 insertions(+), 68 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 81c2ceabb9..8ca9413821 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1 +1 @@ -Please review the [guidelines for contributing](http://netty.io/wiki/developer-guide.html) for this repository. +Please review the [guidelines for contributing](https://netty.io/wiki/developer-guide.html) for this repository. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1a8b4d84cd..a18232f285 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,5 +42,5 @@ My system has IPv6 disabled. ## How to contribute your work -Before submitting a pull request or push a commit, please read [our developer guide](http://netty.io/wiki/developer-guide.html). +Before submitting a pull request or push a commit, please read [our developer guide](https://netty.io/wiki/developer-guide.html). diff --git a/NOTICE.txt b/NOTICE.txt index a07394afb9..f9888e61e1 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -4,7 +4,7 @@ Please visit the Netty web site for more information: - * http://netty.io/ + * https://netty.io/ Copyright 2014 The Netty Project diff --git a/README.md b/README.md index 5c4c4b5afd..6b557b1c3c 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,20 @@ Netty is an asynchronous event-driven network application framework for rapid de ## Links -* [Web Site](http://netty.io/) -* [Downloads](http://netty.io/downloads.html) -* [Documentation](http://netty.io/wiki/) +* [Web Site](https://netty.io/) +* [Downloads](https://netty.io/downloads.html) +* [Documentation](https://netty.io/wiki/) * [@netty_project](https://twitter.com/netty_project) ## How to build -For the detailed information about building and developing Netty, please visit [the developer guide](http://netty.io/wiki/developer-guide.html). This page only gives very basic information. +For the detailed information about building and developing Netty, please visit [the developer guide](https://netty.io/wiki/developer-guide.html). This page only gives very basic information. You require the following to build Netty: * Latest stable [Oracle JDK 7](http://www.oracle.com/technetwork/java/) * Latest stable [Apache Maven](http://maven.apache.org/) -* If you are on Linux, you need [additional development packages](http://netty.io/wiki/native-transports.html) installed on your system, because you'll build the native transport. +* If you are on Linux, you need [additional development packages](https://netty.io/wiki/native-transports.html) installed on your system, because you'll build the native transport. Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+) is enough to run your Netty-based application. diff --git a/bom/pom.xml b/bom/pom.xml index 745e2ba80c..c6a6bd7d3f 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -30,11 +30,11 @@ Netty/BOM Netty (Bill of Materials) - http://netty.io/ + https://netty.io/ The Netty Project - http://netty.io/ + https://netty.io/ @@ -57,9 +57,9 @@ netty.io The Netty Project Contributors netty@googlegroups.com - http://netty.io/ + https://netty.io/ The Netty Project - http://netty.io/ + https://netty.io/ diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java index 403f12b59b..a641d23dbc 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java @@ -55,7 +55,7 @@ import static java.util.Objects.requireNonNull; * *

HashDOS vulnerability fix

* - * As a workaround to the HashDOS vulnerability, the decoder + * As a workaround to the HashDOS vulnerability, the decoder * limits the maximum number of decoded key-value parameter pairs, up to {@literal 1024} by * default, and you can configure it when you construct the decoder by passing an additional * integer parameter. diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.java index af139c7616..79d7b53ebb 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.java @@ -28,8 +28,8 @@ import static io.netty.handler.codec.http.HttpVersion.*; /** *

- * Performs server side opening and closing handshakes for RFC 6455 - * (originally web socket specification draft-ietf-hybi-thewebsocketprotocol-17). + * Performs server side opening and closing handshakes for RFC 6455 + * (originally web socket specification draft-ietf-hybi-thewebsocketprotocol-17). *

*/ public class WebSocketServerHandshaker13 extends WebSocketServerHandshaker { diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/package-info.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/package-info.java index 1425a824d6..824acb3d5d 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/package-info.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/package-info.java @@ -21,11 +21,11 @@ * This package supports different web socket specification versions (hence the X suffix). * The specification current supported are: * *

diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java index fc9bc51022..d806244e75 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java @@ -135,7 +135,7 @@ import static io.netty.handler.codec.http2.Http2Error.NO_ERROR; * reference counted objects (e.g. {@link ByteBuf}s). The frame codec will call {@link ReferenceCounted#retain()} before * propagating a reference counted object through the pipeline, and thus an application handler needs to release such * an object after having consumed it. For more information on reference counting take a look at - * http://netty.io/wiki/reference-counted-objects.html + * https://netty.io/wiki/reference-counted-objects.html * *

HTTP Upgrade

* diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java index 806795c3f5..72ab031ffc 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java @@ -61,7 +61,7 @@ import static io.netty.handler.codec.http2.Http2Exception.connectionError; * reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()} * before propagating a reference counted object through the pipeline, and thus an application handler needs to release * such an object after having consumed it. For more information on reference counting take a look at - * http://netty.io/wiki/reference-counted-objects.html + * https://netty.io/wiki/reference-counted-objects.html * *

Channel Events

* diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java index 99613b813f..b19556060b 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java @@ -64,7 +64,7 @@ import static io.netty.handler.codec.http2.Http2Exception.connectionError; * reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()} * before propagating a reference counted object through the pipeline, and thus an application handler needs to release * such an object after having consumed it. For more information on reference counting take a look at - * http://netty.io/wiki/reference-counted-objects.html + * https://netty.io/wiki/reference-counted-objects.html * *

Channel Events

* diff --git a/codec-xml/src/test/java/io/netty/handler/codec/xml/XmlDecoderTest.java b/codec-xml/src/test/java/io/netty/handler/codec/xml/XmlDecoderTest.java index 1d623d605b..500de1d632 100644 --- a/codec-xml/src/test/java/io/netty/handler/codec/xml/XmlDecoderTest.java +++ b/codec-xml/src/test/java/io/netty/handler/codec/xml/XmlDecoderTest.java @@ -37,12 +37,12 @@ public class XmlDecoderTest { "" + "" + "" + - "" + + "" + "±1\n" + "Alba ]]>" + - " " + + " " + "100"; private static final String XML3 = ""; @@ -99,13 +99,13 @@ public class XmlDecoderTest { assertThat(((XmlElementStart) temp).attributes().size(), is(0)); assertThat(((XmlElementStart) temp).namespaces().size(), is(1)); assertThat(((XmlElementStart) temp).namespaces().get(0).prefix(), is("nettya")); - assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("http://netty.io/netty/a")); + assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("https://netty.io/netty/a")); temp = channel.readInbound(); assertThat(temp, instanceOf(XmlElementStart.class)); assertThat(((XmlElementStart) temp).name(), is("id")); assertThat(((XmlElementStart) temp).prefix(), is("nettya")); - assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/a")); + assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/a")); assertThat(((XmlElementStart) temp).attributes().size(), is(0)); assertThat(((XmlElementStart) temp).namespaces().size(), is(0)); @@ -122,7 +122,7 @@ public class XmlDecoderTest { assertThat(temp, instanceOf(XmlElementEnd.class)); assertThat(((XmlElementEnd) temp).name(), is("id")); assertThat(((XmlElementEnd) temp).prefix(), is("nettya")); - assertThat(((XmlElementEnd) temp).namespace(), is("http://netty.io/netty/a")); + assertThat(((XmlElementEnd) temp).namespace(), is("https://netty.io/netty/a")); temp = channel.readInbound(); assertThat(temp, instanceOf(XmlCharacters.class)); @@ -171,15 +171,15 @@ public class XmlDecoderTest { assertThat(temp, instanceOf(XmlElementStart.class)); assertThat(((XmlElementStart) temp).name(), is("salary")); assertThat(((XmlElementStart) temp).prefix(), is("nettyb")); - assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/b")); + assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/b")); assertThat(((XmlElementStart) temp).attributes().size(), is(1)); assertThat(((XmlElementStart) temp).attributes().get(0).name(), is("period")); assertThat(((XmlElementStart) temp).attributes().get(0).value(), is("weekly")); assertThat(((XmlElementStart) temp).attributes().get(0).prefix(), is("nettyb")); - assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("http://netty.io/netty/b")); + assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("https://netty.io/netty/b")); assertThat(((XmlElementStart) temp).namespaces().size(), is(1)); assertThat(((XmlElementStart) temp).namespaces().get(0).prefix(), is("nettyb")); - assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b")); + assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b")); temp = channel.readInbound(); assertThat(temp, instanceOf(XmlCharacters.class)); @@ -189,10 +189,10 @@ public class XmlDecoderTest { assertThat(temp, instanceOf(XmlElementEnd.class)); assertThat(((XmlElementEnd) temp).name(), is("salary")); assertThat(((XmlElementEnd) temp).prefix(), is("nettyb")); - assertThat(((XmlElementEnd) temp).namespace(), is("http://netty.io/netty/b")); + assertThat(((XmlElementEnd) temp).namespace(), is("https://netty.io/netty/b")); assertThat(((XmlElementEnd) temp).namespaces().size(), is(1)); assertThat(((XmlElementEnd) temp).namespaces().get(0).prefix(), is("nettyb")); - assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b")); + assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b")); temp = channel.readInbound(); assertThat(temp, instanceOf(XmlElementStart.class)); @@ -216,7 +216,7 @@ public class XmlDecoderTest { assertThat(((XmlElementEnd) temp).namespace(), is("")); assertThat(((XmlElementEnd) temp).namespaces().size(), is(1)); assertThat(((XmlElementEnd) temp).namespaces().get(0).prefix(), is("nettya")); - assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("http://netty.io/netty/a")); + assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("https://netty.io/netty/a")); temp = channel.readInbound(); assertThat(temp, nullValue()); diff --git a/codec/src/test/resources/io/netty/handler/codec/xml/sample-04.xml b/codec/src/test/resources/io/netty/handler/codec/xml/sample-04.xml index 8f50d300e7..4550d319a4 100644 --- a/codec/src/test/resources/io/netty/handler/codec/xml/sample-04.xml +++ b/codec/src/test/resources/io/netty/handler/codec/xml/sample-04.xml @@ -29,7 +29,7 @@ 4.0.14.Final-SNAPSHOT Netty - http://netty.io/ + https://netty.io/ Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and @@ -38,7 +38,7 @@ The Netty Project - http://netty.io/ + https://netty.io/ @@ -61,9 +61,9 @@ netty.io The Netty Project Contributors netty@googlegroups.com - http://netty.io/ + https://netty.io/ The Netty Project - http://netty.io/ + https://netty.io/ diff --git a/common/src/main/java/io/netty/util/ResourceLeakDetector.java b/common/src/main/java/io/netty/util/ResourceLeakDetector.java index 7fc48c60a0..0ada985f09 100644 --- a/common/src/main/java/io/netty/util/ResourceLeakDetector.java +++ b/common/src/main/java/io/netty/util/ResourceLeakDetector.java @@ -293,7 +293,7 @@ public class ResourceLeakDetector { protected void reportTracedLeak(String resourceType, String records) { logger.error( "LEAK: {}.release() was not called before it's garbage-collected. " + - "See http://netty.io/wiki/reference-counted-objects.html for more information.{}", + "See https://netty.io/wiki/reference-counted-objects.html for more information.{}", resourceType, records); } @@ -306,7 +306,7 @@ public class ResourceLeakDetector { "Enable advanced leak reporting to find out where the leak occurred. " + "To enable advanced leak reporting, " + "specify the JVM option '-D{}={}' or call {}.setLevel() " + - "See http://netty.io/wiki/reference-counted-objects.html for more information.", + "See https://netty.io/wiki/reference-counted-objects.html for more information.", resourceType, PROP_LEVEL, Level.ADVANCED.name().toLowerCase(), simpleClassName(this)); } diff --git a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java index fba12550b9..d4730c300a 100644 --- a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java +++ b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java @@ -44,7 +44,7 @@ import java.util.Set; import static io.netty.handler.ssl.SslUtils.*; /** - * Tells if {@code netty-tcnative} and its OpenSSL support + * Tells if {@code netty-tcnative} and its OpenSSL support * are available. */ public final class OpenSsl { @@ -136,7 +136,7 @@ public final class OpenSsl { "Failed to load netty-tcnative; " + OpenSslEngine.class.getSimpleName() + " will be unavailable, unless the " + "application has already loaded the symbols by some other means. " + - "See http://netty.io/wiki/forked-tomcat-native.html for more information.", t); + "See https://netty.io/wiki/forked-tomcat-native.html for more information.", t); } try { @@ -159,7 +159,7 @@ public final class OpenSsl { logger.debug( "Failed to initialize netty-tcnative; " + OpenSslEngine.class.getSimpleName() + " will be unavailable. " + - "See http://netty.io/wiki/forked-tomcat-native.html for more information.", t); + "See https://netty.io/wiki/forked-tomcat-native.html for more information.", t); } } } @@ -396,7 +396,7 @@ public final class OpenSsl { /** * Returns {@code true} if and only if - * {@code netty-tcnative} and its OpenSSL support + * {@code netty-tcnative} and its OpenSSL support * are available. */ public static boolean isAvailable() { @@ -435,7 +435,7 @@ public final class OpenSsl { } /** - * Ensure that {@code netty-tcnative} and + * Ensure that {@code netty-tcnative} and * its OpenSSL support are available. * * @throws UnsatisfiedLinkError if unavailable @@ -449,7 +449,7 @@ public final class OpenSsl { /** * Returns the cause of unavailability of - * {@code netty-tcnative} and its OpenSSL support. + * {@code netty-tcnative} and its OpenSSL support. * * @return the cause if unavailable. {@code null} if available. */ diff --git a/handler/src/main/java/io/netty/handler/ssl/PemReader.java b/handler/src/main/java/io/netty/handler/ssl/PemReader.java index 08cf80950d..57f4e0d809 100644 --- a/handler/src/main/java/io/netty/handler/ssl/PemReader.java +++ b/handler/src/main/java/io/netty/handler/ssl/PemReader.java @@ -123,7 +123,7 @@ final class PemReader { Matcher m = KEY_PATTERN.matcher(content); if (!m.find()) { throw new KeyException("could not find a PKCS #8 private key in input stream" + - " (see http://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)"); + " (see https://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)"); } ByteBuf base64 = Unpooled.copiedBuffer(m.group(1), CharsetUtil.US_ASCII); diff --git a/microbench/README.md b/microbench/README.md index b109a14f88..4505f1d9c9 100644 --- a/microbench/README.md +++ b/microbench/README.md @@ -1,4 +1,4 @@ ## Microbenchmark tests -See [our wiki page](http://netty.io/wiki/microbenchmarks.html). +See [our wiki page](https://netty.io/wiki/microbenchmarks.html). diff --git a/pom.xml b/pom.xml index aa0883e825..18a64652bd 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ 5.0.0.Final-SNAPSHOT Netty - http://netty.io/ + https://netty.io/ Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and @@ -38,7 +38,7 @@ The Netty Project - http://netty.io/ + https://netty.io/ @@ -61,9 +61,9 @@ netty.io The Netty Project Contributors netty@googlegroups.com - http://netty.io/ + https://netty.io/ The Netty Project - http://netty.io/ + https://netty.io/ diff --git a/transport-native-epoll/README.md b/transport-native-epoll/README.md index 43f97ee933..ebc7960295 100644 --- a/transport-native-epoll/README.md +++ b/transport-native-epoll/README.md @@ -1,3 +1,3 @@ # Native transport for Linux -See [our wiki page](http://netty.io/wiki/native-transports.html). +See [our wiki page](https://netty.io/wiki/native-transports.html). diff --git a/transport-native-epoll/src/main/java/io/netty/channel/epoll/Epoll.java b/transport-native-epoll/src/main/java/io/netty/channel/epoll/Epoll.java index e4ecf42707..f2b0231dbb 100644 --- a/transport-native-epoll/src/main/java/io/netty/channel/epoll/Epoll.java +++ b/transport-native-epoll/src/main/java/io/netty/channel/epoll/Epoll.java @@ -19,13 +19,14 @@ import io.netty.channel.unix.FileDescriptor; import io.netty.util.internal.SystemPropertyUtil; /** - * Tells if {@code netty-transport-native-epoll} is supported. + * Tells if {@code netty-transport-native-epoll} is + * supported. */ public final class Epoll { private static final Throwable UNAVAILABILITY_CAUSE; - static { + static { Throwable cause = null; if (SystemPropertyUtil.getBoolean("io.netty.transport.noNative", false)) { @@ -61,15 +62,15 @@ public final class Epoll { } /** - * Returns {@code true} if and only if the - * {@code netty-transport-native-epoll} is available. + * Returns {@code true} if and only if the {@code + * netty-transport-native-epoll} is available. */ public static boolean isAvailable() { return UNAVAILABILITY_CAUSE == null; } /** - * Ensure that {@code netty-transport-native-epoll} is + * Ensure that {@code netty-transport-native-epoll} is * available. * * @throws UnsatisfiedLinkError if unavailable @@ -82,8 +83,8 @@ public final class Epoll { } /** - * Returns the cause of unavailability of - * {@code netty-transport-native-epoll}. + * Returns the cause of unavailability of + * {@code netty-transport-native-epoll}. * * @return the cause if unavailable. {@code null} if available. */ @@ -91,5 +92,6 @@ public final class Epoll { return UNAVAILABILITY_CAUSE; } - private Epoll() { } + private Epoll() { + } } diff --git a/transport-native-kqueue/src/main/java/io/netty/channel/kqueue/KQueue.java b/transport-native-kqueue/src/main/java/io/netty/channel/kqueue/KQueue.java index b5a772fab7..37ad6ea654 100644 --- a/transport-native-kqueue/src/main/java/io/netty/channel/kqueue/KQueue.java +++ b/transport-native-kqueue/src/main/java/io/netty/channel/kqueue/KQueue.java @@ -25,7 +25,8 @@ import io.netty.util.internal.UnstableApi; @UnstableApi public final class KQueue { private static final Throwable UNAVAILABILITY_CAUSE; - static { + + static { Throwable cause = null; if (SystemPropertyUtil.getBoolean("io.netty.transport.noNative", false)) { cause = new UnsupportedOperationException( @@ -51,15 +52,15 @@ public final class KQueue { } /** - * Returns {@code true} if and only if the - * {@code netty-transport-native-kqueue} is available. + * Returns {@code true} if and only if the {@code + * netty-transport-native-kqueue} is available. */ public static boolean isAvailable() { return UNAVAILABILITY_CAUSE == null; } /** - * Ensure that {@code netty-transport-native-kqueue} is + * Ensure that {@code netty-transport-native-kqueue} is * available. * * @throws UnsatisfiedLinkError if unavailable @@ -72,8 +73,8 @@ public final class KQueue { } /** - * Returns the cause of unavailability of - * {@code netty-transport-native-kqueue}. + * Returns the cause of unavailability of {@code + * netty-transport-native-kqueue}. * * @return the cause if unavailable. {@code null} if available. */ @@ -81,5 +82,6 @@ public final class KQueue { return UNAVAILABILITY_CAUSE; } - private KQueue() { } + private KQueue() { + } }