diff options
author | Tarun Gupta <tarun1995gupta@gmail.com> | 2015-06-26 08:20:59 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-07-06 13:52:48 (GMT) |
commit | fcdff3f162995170469833a82f607903e660812d (patch) | |
tree | e9d3cc18c8454b43ebdc1e9b9568d1f4456b59eb /src/com/isode/stroke/elements/Stanza.java | |
parent | 79b532d8b6702a5599e7a3eac1416f562405668e (diff) | |
download | stroke-fcdff3f162995170469833a82f607903e660812d.zip stroke-fcdff3f162995170469833a82f607903e660812d.tar.bz2 |
Minor Fixes for Elements.
Adds Block Element, BlockList, and Unblock Element.
Updates some Elements just for consistency.
Updates Last Element, its Parser and Serializer for consistency with Swiften.
License:
This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Test-Information:
None.
Change-Id: If40c2516b944b1939db08721bb4de4554c3264f6
Diffstat (limited to 'src/com/isode/stroke/elements/Stanza.java')
-rw-r--r-- | src/com/isode/stroke/elements/Stanza.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/isode/stroke/elements/Stanza.java b/src/com/isode/stroke/elements/Stanza.java index 8a5aadd..82fd41b 100644 --- a/src/com/isode/stroke/elements/Stanza.java +++ b/src/com/isode/stroke/elements/Stanza.java @@ -14,9 +14,9 @@ import java.util.Vector; * Base class for all types of XMPP stanza. */ public abstract class Stanza implements Element { - private String id_; - private JID from_; - private JID to_; + private String id_ = ""; + private JID from_ = new JID(); + private JID to_ = new JID(); private Vector<Payload> payloads_ = new Vector<Payload>(); /** |