GeezerVison is showing github.com — Port 4.1: Fix typos in comments/javadoc (#17390) (#17863) · lltopk/netty@a64afe1
File treeExpand file treeCollapse file tree Open diff view settings common/src/main/java/io/netty/util/concurrent handler/src/main/java/io/netty/handler/ssl resolver-dns/src/main/java/io/netty/resolver/dns transport-classes-epoll/src/main/java/io/netty/channel/epoll transport-classes-kqueue/src/main/java/io/netty/channel/kqueue transport-native-unix-common/src/main/java/io/netty/channel/unix
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -117,7 +117,7 @@ public static boolean willCleanupFastThreadLocals(Thread thread) { | 117 | 117 | * Subclasses of {@link FastThreadLocalThread} can override this method if they are not meant to be used for | 118 | 118 | * running event-loops. | 119 | 119 | * | 120 | | - * @return {@code false}, unless overriden by a subclass. | | 120 | + * @return {@code false}, unless overridden by a subclass. | 121 | 121 | */ | 122 | 122 | public boolean permitBlockingCalls() { | 123 | 123 | return false; | |
Collapse file Copy file name to clipboardExpand all lines: handler/src/main/java/io/netty/handler/ssl/SslHandler.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1178,7 +1178,7 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception { | 1178 | 1178 | // Channel closed, we will generate 'ClosedChannelException' now. | 1179 | 1179 | ClosedChannelException exception = new ClosedChannelException(); | 1180 | 1180 |
| 1181 | | - // Add a supressed exception if the handshake was not completed yet. | | 1181 | + // Add a suppressed exception if the handshake was not completed yet. | 1182 | 1182 | if (isStateSet(STATE_HANDSHAKE_STARTED) && !handshakePromise.isDone()) { | 1183 | 1183 | ThrowableUtil.addSuppressed(exception, StacklessSSLHandshakeException.newInstance( | 1184 | 1184 | "Connection closed while SSL/TLS handshake was in progress", | |
Collapse file Copy file name to clipboardExpand all lines: resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -760,7 +760,7 @@ private List<InetAddress> resolveHostsFileEntries(String hostname) { | 760 | 760 | * system property. | 761 | 761 | * | 762 | 762 | * @param hostname the hostname that's being looked up | 763 | | - * @return true if the hostname should point to the loopback adress. False otherwise. | | 763 | + * @return true if the hostname should point to the loopback address. False otherwise. | 764 | 764 | * @see <a href="https://github.com/netty/netty/issues/5386">Issue 5386</a> | 765 | 765 | * @see <a href="https://github.com/netty/netty/issues/11142">Issue 11142</a> | 766 | 766 | * @see <a href="https://github.com/netty/netty/issues/16744">Issue 16744</a> | |
Collapse file Copy file name to clipboardExpand all lines: transport-classes-epoll/src/main/java/io/netty/channel/epoll/Native.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -75,7 +75,7 @@ public final class Native { | 75 | 75 | throw new ExceptionInInitializerError(e); | 76 | 76 | } | 77 | 77 |
| 78 | | - // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possiblity of a | | 78 | + // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possibility of a | 79 | 79 | // class-loader deadlock. This is a workaround for https://github.com/netty/netty/issues/11209. | 80 | 80 |
| 81 | 81 | // This needs to match all the classes that are loaded via NETTY_JNI_UTIL_LOAD_CLASS or looked up via | |
Collapse file Copy file name to clipboardExpand all lines: transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/BsdSocket.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -221,7 +221,7 @@ private static native long sendFile(int socketFd, DefaultFileRegion src, long ba | 221 | 221 | long offset, long length) throws IOException; | 222 | 222 |
| 223 | 223 | /** | 224 | | - * @return If successful, zero or positive number of bytes transfered, otherwise negative errno. | | 224 | + * @return If successful, zero or positive number of bytes transferred, otherwise negative errno. | 225 | 225 | */ | 226 | 226 | private static native int connectx( | 227 | 227 | int socketFd, | |
Collapse file Copy file name to clipboardExpand all lines: transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/Native.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -57,7 +57,7 @@ final class Native { | 57 | 57 | private static final InternalLogger logger = InternalLoggerFactory.getInstance(Native.class); | 58 | 58 |
| 59 | 59 | static { | 60 | | - // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possiblity of a | | 60 | + // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possibility of a | 61 | 61 | // class-loader deadlock. This is a workaround for https://github.com/netty/netty/issues/11209. | 62 | 62 |
| 63 | 63 | // This needs to match all the classes that are loaded via NETTY_JNI_UTIL_LOAD_CLASS or looked up via | |
Collapse file Copy file name to clipboardExpand all lines: transport-native-unix-common/src/main/java/io/netty/channel/unix/Unix.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ public final class Unix { | 32 | 32 | private static final AtomicBoolean registered = new AtomicBoolean(); | 33 | 33 |
| 34 | 34 | static { | 35 | | - // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possiblity of a | | 35 | + // Preload all classes that will be used in the OnLoad(...) function of JNI to eliminate the possibility of a | 36 | 36 | // class-loader deadlock. This is a workaround for https://github.com/netty/netty/issues/11209. | 37 | 37 |
| 38 | 38 | // This needs to match all the classes that are loaded via NETTY_JNI_UTIL_LOAD_CLASS or looked up via | |
|