diff --git a/buffer/src/main/java/io/netty/buffer/BufType.java b/buffer/src/main/java/io/netty/buffer/BufType.java index 2a82223a7e..8b9ffd0674 100644 --- a/buffer/src/main/java/io/netty/buffer/BufType.java +++ b/buffer/src/main/java/io/netty/buffer/BufType.java @@ -20,7 +20,7 @@ package io.netty.buffer; */ public enum BufType { /** - * Operates one bytes. + * Operates on bytes. */ BYTE, diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java b/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java index b70c9e527e..9987dc1f01 100755 --- a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java +++ b/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java @@ -64,7 +64,7 @@ final class DefaultChannelHandlerContext extends DefaultAttributeMap implements // 'bridge' so that the two handlers access each other's buffer only via the bridges. // The content written into a bridge is flushed into the actual buffer by flushBridge(). // - // Note we use an AtomicReferenceFieldUpdater for atomic operations on these to safe memory. This will safe us + // Note we use an AtomicReferenceFieldUpdater for atomic operations on these to save memory. This will save us // 64 bytes per Bridge. @SuppressWarnings("UnusedDeclaration") private volatile MessageBridge inMsgBridge;