diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/isode/stroke/elements/DiscoItems.java | 2 | ||||
-rw-r--r-- | src/com/isode/stroke/parser/payloadparsers/DiscoItemsParser.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/com/isode/stroke/elements/DiscoItems.java b/src/com/isode/stroke/elements/DiscoItems.java index ac92cb3..8ecd12a 100644 --- a/src/com/isode/stroke/elements/DiscoItems.java +++ b/src/com/isode/stroke/elements/DiscoItems.java @@ -91,7 +91,7 @@ public class DiscoItems extends Payload { public void addItem(Item item) { items_.add(item); } - private String node_; + private String node_ = ""; private final List<Item> items_ = new ArrayList<Item>(); } diff --git a/src/com/isode/stroke/parser/payloadparsers/DiscoItemsParser.java b/src/com/isode/stroke/parser/payloadparsers/DiscoItemsParser.java index caf75cf..091fd32 100644 --- a/src/com/isode/stroke/parser/payloadparsers/DiscoItemsParser.java +++ b/src/com/isode/stroke/parser/payloadparsers/DiscoItemsParser.java @@ -14,7 +14,7 @@ import com.isode.stroke.jid.JID; import com.isode.stroke.parser.AttributeMap; import com.isode.stroke.parser.GenericPayloadParser; -class DiscoItemsParser extends GenericPayloadParser<DiscoItems> { +public class DiscoItemsParser extends GenericPayloadParser<DiscoItems> { public DiscoItemsParser() { super(new DiscoItems()); } |