aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-18 17:27:55 +0300
committerGravatar Vitaly Takmazov2016-11-18 17:27:55 +0300
commite7940d5c3a485e6015ae51c3b3e5fe2f05aafde9 (patch)
treea382bf920f59e9df6a7f096bc1f775f2ab82cb65 /juick-core/src/main/java
parentefbc952a2aae7ff540828ee5fbd4a587ab42bf95 (diff)
juick-xmpp: fix reconnection
Diffstat (limited to 'juick-core/src/main/java')
-rw-r--r--juick-core/src/main/java/com/juick/xml/adapters/SimpleDateAdapter.java2
1 files changed, 1 insertions, 1 deletions
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<String, Date> {
@Override
public String marshal(Date v) throws Exception {
if (v == null) {
- return "";
+ return null;
}
synchronized (dateFormat) {
return dateFormat.format(v);