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:
Trustin Lee 2014-02-08 08:50:27 -08:00
parent 21c4aaa12b
commit 060eed9e80

View File

@ -22,7 +22,7 @@ import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentMap;
import java.util.Map;
/**
* Default factory giving Attribute and FileUpload according to constructor
@ -47,8 +47,7 @@ public class DefaultHttpDataFactory implements HttpDataFactory {
/**
* Keep all HttpDatas until cleanAllHttpDatas() is called.
*/
private final ConcurrentMap<HttpRequest, List<HttpData>> requestFileDeleteMap =
PlatformDependent.newConcurrentHashMap();
private final Map<HttpRequest, List<HttpData>> requestFileDeleteMap = PlatformDependent.newConcurrentHashMap();
/**
* HttpData will be in memory if less than default size (16KB).