From e7940d5c3a485e6015ae51c3b3e5fe2f05aafde9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 18 Nov 2016 17:27:55 +0300 Subject: juick-xmpp: fix reconnection --- juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-core/src/main') diff --git a/juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java b/juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java index 264f8c22..1093e47a 100644 --- a/juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java +++ b/juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java @@ -21,7 +21,7 @@ public class SimpleDateAdapter extends XmlAdapter { @Override public String marshal(Date v) throws Exception { if (v == null) { - return ""; + return null; } synchronized (dateFormat) { return dateFormat.format(v); -- cgit v1.2.3