You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Paul Lindner <li...@inuus.com> on 2010/11/04 00:10:27 UTC

Re: svn commit: r1030751 - /shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java

you beat me to it :)

On Wed, Nov 3, 2010 at 4:08 PM, <jo...@apache.org> wrote:

> Author: johnh
> Date: Wed Nov  3 23:08:02 2010
> New Revision: 1030751
>
> URL: http://svn.apache.org/viewvc?rev=1030751&view=rev
> Log:
> Another workaround for openJDK bug.
>
>
> Modified:
>
>  shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java
>
> Modified:
> shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java
> URL:
> http://svn.apache.org/viewvc/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java?rev=1030751&r1=1030750&r2=1030751&view=diff
>
> ==============================================================================
> ---
> shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java
> (original)
> +++
> shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/http/HttpRequest.java
> Wed Nov  3 23:08:02 2010
> @@ -38,6 +38,7 @@ import java.util.Arrays;
>  import java.util.Collections;
>  import java.util.List;
>  import java.util.Map;
> +import java.util.TreeMap;
>
>  /**
>  * Creates HttpRequests. A new HttpRequest should be created for every
> unique HttpRequest
> @@ -50,7 +51,7 @@ public class HttpRequest {
>
>   private String method = "GET";
>   private Uri uri;
> -  private final Map<String, List<String>> headers =
> Maps.newTreeMap(String.CASE_INSENSITIVE_ORDER);
> +  private final Map<String, List<String>> headers = new TreeMap<String,
> List<String>>(String.CASE_INSENSITIVE_ORDER);
>
>   // Internal parameters which serve as extra information to pass along the
>   // chain of HttpRequest processing.
>
>
>


-- 
Paul Lindner -- lindner@inuus.com -- linkedin.com/in/plindner