mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Add checkstyle check for trailing whitespace
This commit is contained in:
parent
b8f046706b
commit
8878cf3773
14 changed files with 35 additions and 22 deletions
|
@ -475,7 +475,7 @@ public class MUCUser implements ExtensionElement {
|
|||
if (other instanceof Status) {
|
||||
Status otherStatus = (Status) other;
|
||||
return code.equals(otherStatus.getCode());
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,19 +25,19 @@ package org.jivesoftware.smackx.pubsub;
|
|||
public enum EventElementType
|
||||
{
|
||||
/** A node has been associated or dissassociated with a collection node */
|
||||
collection,
|
||||
collection,
|
||||
|
||||
/** A node has had its configuration changed */
|
||||
configuration,
|
||||
configuration,
|
||||
|
||||
/** A node has been deleted */
|
||||
delete,
|
||||
delete,
|
||||
|
||||
/** Items have been published to a node */
|
||||
items,
|
||||
items,
|
||||
|
||||
/** All items have been purged from a node */
|
||||
purge,
|
||||
purge,
|
||||
|
||||
/** A node has been subscribed to */
|
||||
subscription
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.jivesoftware.smackx.xdata.packet.DataForm;
|
|||
* @author Robin Collier
|
||||
*/
|
||||
public class SubscribeForm extends Form
|
||||
{
|
||||
{
|
||||
public SubscribeForm(DataForm configDataForm)
|
||||
{
|
||||
super(configDataForm);
|
||||
|
|
|
@ -48,7 +48,7 @@ public class ItemProvider extends ExtensionElementProvider<Item>
|
|||
{
|
||||
return new Item(id, node);
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
String payloadElemName = parser.getName();
|
||||
String payloadNS = parser.getNamespace();
|
||||
|
@ -59,7 +59,7 @@ public class ItemProvider extends ExtensionElementProvider<Item>
|
|||
CharSequence payloadText = PacketParserUtils.parseElement(parser, true);
|
||||
return new PayloadItem<SimplePayload>(id, node, new SimplePayload(payloadElemName, payloadNS, payloadText));
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
return new PayloadItem<ExtensionElement>(id, node, extensionProvider.parse(parser));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue