Multiple errors in pubsub GetItemsRequest

Description

1. org.jivesoftware.smackx.pubsub.GetItemsRequest constructor GetItemsRequest(String nodeId, String subscriptionId, int maxItems) the local variable maxItems is never set to the argument maxItems.
2. in toXml, in the block if (getSubscriptionId() != null) the xml should not be ended - builder.append("'/>"); should be builder.append("' ");
3. in toXml, in the block if (getMaxItems() > 0) the xml should not be ended - builder.append("'/>"); should be builder.append("' ");

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 14, 2010 at 6:40 PM
Updated October 28, 2020 at 1:28 PM
Resolved April 14, 2010 at 11:25 PM

Flag notifications