cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1370734 - /cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
Date Wed, 08 Aug 2012 10:34:14 GMT
Author: sergeyb
Date: Wed Aug  8 10:34:14 2012
New Revision: 1370734

URL: http://svn.apache.org/viewvc?rev=1370734&view=rev
Log:
[CXF-4455] Correct cast in Variant constructor

Modified:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java?rev=1370734&r1=1370733&r2=1370734&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/bootstrapping/BootstrapStorage.java
Wed Aug  8 10:34:14 2012
@@ -28,6 +28,7 @@ import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.Arrays;
 import java.util.HashMap;
+import java.util.Locale;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import java.util.zip.GZIPOutputStream;
@@ -122,7 +123,7 @@ public class BootstrapStorage {
                 StaticFile staticFile = new StaticFile(url, acceptsGzip(mc), mime);
                 
                 Response.ResponseBuilder builder = Response.ok(staticFile);
-                builder.variant(new Variant(mime , (String)null, staticFile.isGzipEnabled()
? "gzip" : null));
+                builder.variant(new Variant(mime , (Locale)null, staticFile.isGzipEnabled()
? "gzip" : null));
 
                 return builder.build();
             }



Mime
View raw message