From 33187d0285e1c48f1fb4953f1199a53e123da6a6 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 7 Nov 2008 02:05:09 +0000 Subject: [PATCH] Fixed issue: NETTY-62 ChannelBuffers.EMPTY_BUFFER is not final --- src/main/java/org/jboss/netty/buffer/ChannelBuffers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/buffer/ChannelBuffers.java b/src/main/java/org/jboss/netty/buffer/ChannelBuffers.java index ebf23e07a2..23a0230156 100644 --- a/src/main/java/org/jboss/netty/buffer/ChannelBuffers.java +++ b/src/main/java/org/jboss/netty/buffer/ChannelBuffers.java @@ -104,7 +104,7 @@ public class ChannelBuffers { /** * A buffer whose capacity is {@code 0}. */ - public static ChannelBuffer EMPTY_BUFFER = new BigEndianHeapChannelBuffer(0); + public static final ChannelBuffer EMPTY_BUFFER = new BigEndianHeapChannelBuffer(0); private static final char[] HEXDUMP_TABLE = new char[65536 * 4];