cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing 3.1.x build failure
Date Mon, 15 Aug 2016 09:21:46 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes f454461fc -> 5c3c1b4b7


Fixing 3.1.x build failure


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5c3c1b4b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5c3c1b4b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5c3c1b4b

Branch: refs/heads/3.1.x-fixes
Commit: 5c3c1b4b76b03829fac2304053931743e255af12
Parents: f454461f
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Aug 15 10:21:28 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Aug 15 10:21:28 2016 +0100

----------------------------------------------------------------------
 .../apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5c3c1b4b/rt/rs/extensions/json-basic/src/test/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java
----------------------------------------------------------------------
diff --git a/rt/rs/extensions/json-basic/src/test/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java
b/rt/rs/extensions/json-basic/src/test/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java
index afb81d9..54c63ae 100644
--- a/rt/rs/extensions/json-basic/src/test/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java
+++ b/rt/rs/extensions/json-basic/src/test/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriterTest.java
@@ -43,7 +43,7 @@ public class JsonMapObjectReaderWriterTest extends Assert {
     @Test
     public void testWriteDateProperty() throws Exception {
         Date date = new Date();
-        Map<String, Object> map = Collections.singletonMap("createdAt", date);
+        Map<String, Object> map = Collections.<String, Object>singletonMap("createdAt",
date);
         String json = new JsonMapObjectReaderWriter().toJson(map);
         assertEquals("{\"createdAt\":\"" + date.toString() + "\"}", json);
     }


Mime
View raw message