Prefer interface to implementation in type declaration
This fixes the build failure with JDK 8 due to animal sniffer error
This commit is contained in:
parent
71913d3d84
commit
ad121c73b0
@ -23,7 +23,7 @@ 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.ConcurrentMap;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default factory giving Attribute and FileUpload according to constructor
|
* Default factory giving Attribute and FileUpload according to constructor
|
||||||
@ -57,8 +57,7 @@ public class DefaultHttpDataFactory implements HttpDataFactory {
|
|||||||
/**
|
/**
|
||||||
* Keep all HttpDatas until cleanAllHttpData() is called.
|
* Keep all HttpDatas until cleanAllHttpData() is called.
|
||||||
*/
|
*/
|
||||||
private final ConcurrentMap<HttpRequest, List<HttpData>> requestFileDeleteMap =
|
private final Map<HttpRequest, List<HttpData>> requestFileDeleteMap = PlatformDependent.newConcurrentHashMap();
|
||||||
PlatformDependent.newConcurrentHashMap();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HttpData will be in memory if less than default size (16KB).
|
* HttpData will be in memory if less than default size (16KB).
|
||||||
|
Loading…
Reference in New Issue
Block a user