Author: thrantal
Date: Mon Dec 1 04:29:16 2008
New Revision: 722058
URL: http://svn.apache.org/viewvc?rev=722058&view=rev
Log:
WICKET-1886: It seems that Iterable is not in JDK 1.4. This should fix the
TeamCity build.
Modified:
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockHttpServletRequest.java
Modified:
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockHttpServletRequest.java
URL:
http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockHttpServletRequest.java?rev=722058&r1=722057&r2=722058&view=diff
==============================================================================
---
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockHttpServletRequest.java
(original)
+++
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockHttpServletRequest.java
Mon Dec 1 04:29:16 2008
@@ -28,6 +28,7 @@
import java.text.DateFormat;
import java.text.ParseException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
@@ -213,7 +214,7 @@
cookies.add(cookie);
}
- public void addCookies(Iterable cookies)
+ public void addCookies(Collection cookies)
{
for (Iterator it = cookies.iterator(); it.hasNext();)
{