From 8e23ab68864bd7a07ffc0fbf2bc90e5390cf21f8 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 28 Mar 2013 15:49:35 -0700 Subject: [PATCH] Fix typo in BufType javadoc --- buffer/src/main/java/io/netty/buffer/BufType.java | 2 +- .../java/io/netty/channel/DefaultChannelHandlerContext.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;