Set maxAge to Integer.MIN_VALUE by default. See #534

This commit is contained in:
Norman Maurer 2012-08-19 11:55:15 +03:00
parent e80abf0b39
commit c22b559dfa

View File

@ -94,7 +94,7 @@ public final class CookieDecoder {
String commentURL = null; String commentURL = null;
String domain = null; String domain = null;
String path = null; String path = null;
long maxAge = -1; long maxAge = Integer.MIN_VALUE;
List<Integer> ports = new ArrayList<Integer>(2); List<Integer> ports = new ArrayList<Integer>(2);
for (int j = i + 1; j < names.size(); j++, i++) { for (int j = i + 1; j < names.size(); j++, i++) {