DefaultHttpDataFactory.MINSIZE must be final
This commit is contained in:
parent
4e0f455e69
commit
3f4b3314cc
@ -15,14 +15,14 @@
|
|||||||
*/
|
*/
|
||||||
package io.netty.handler.codec.http.multipart;
|
package io.netty.handler.codec.http.multipart;
|
||||||
|
|
||||||
|
import io.netty.handler.codec.http.HttpRequest;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import io.netty.handler.codec.http.HttpRequest;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default factory giving Attribute and FileUpload according to constructor
|
* Default factory giving Attribute and FileUpload according to constructor
|
||||||
*
|
*
|
||||||
@ -35,7 +35,7 @@ public class DefaultHttpDataFactory implements HttpDataFactory {
|
|||||||
/**
|
/**
|
||||||
* Proposed default MINSIZE as 16 KB.
|
* Proposed default MINSIZE as 16 KB.
|
||||||
*/
|
*/
|
||||||
public static long MINSIZE = 0x4000;
|
public static final long MINSIZE = 0x4000;
|
||||||
|
|
||||||
private final boolean useDisk;
|
private final boolean useDisk;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user