cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1564454 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java
Date Tue, 04 Feb 2014 20:06:05 GMT
Author: dkulp
Date: Tue Feb  4 20:06:05 2014
New Revision: 1564454

URL: http://svn.apache.org/r1564454
Log:
Make sure the GMT timezone is used if the format is going to mandate that.

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java?rev=1564454&r1=1564453&r2=1564454&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/impl/EvaluatePreconditionsTest.java
Tue Feb  4 20:06:05 2014
@@ -25,6 +25,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Locale;
 import java.util.Map;
+import java.util.TimeZone;
 
 import javax.servlet.http.HttpServletResponse;
 import javax.ws.rs.core.EntityTag;
@@ -53,6 +54,8 @@ public class EvaluatePreconditionsTest {
     public void setUp() {
         service = new SimpleService();
         service.setEntityTag(ETAG_OLD);
+        DATE_FMT_822.setTimeZone(TimeZone.getTimeZone("GMT"));
+        
         service.setLastModified(DATE_OLD);
     }
 



Mime
View raw message