From 3f4b3314cc4622302f1ed106a6314d3b1bc3c465 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Sat, 10 Nov 2012 07:11:31 +0900 Subject: [PATCH] DefaultHttpDataFactory.MINSIZE must be final --- .../codec/http/multipart/DefaultHttpDataFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java b/codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java index b25ecac29b..7e2f186557 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java @@ -15,14 +15,14 @@ */ package io.netty.handler.codec.http.multipart; +import io.netty.handler.codec.http.HttpRequest; + import java.io.IOException; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; -import io.netty.handler.codec.http.HttpRequest; - /** * Default factory giving Attribute and FileUpload according to constructor * @@ -35,7 +35,7 @@ public class DefaultHttpDataFactory implements HttpDataFactory { /** * Proposed default MINSIZE as 16 KB. */ - public static long MINSIZE = 0x4000; + public static final long MINSIZE = 0x4000; private final boolean useDisk;