Integer.MAX_VALUE is actually the maximum value in seconds, construct date with milliseconds (#56)

This commit is contained in:
Athou
2013-04-22 09:05:04 +02:00
parent d28c74ea25
commit bb5d76109a

View File

@@ -27,7 +27,7 @@ import com.sun.syndication.io.SyndFeedInput;
public class FeedParser {
private static final Date START = new Date(0);
private static final Date END = new Date(Integer.MAX_VALUE);
private static final Date END = new Date(1000l * Integer.MAX_VALUE);
private static final Function<SyndContent, String> CONTENT_TO_STRING = new Function<SyndContent, String>() {
public String apply(SyndContent content) {