mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 14:01:08 +01:00
Enable ModifierOrder checkstyle check
Fixes SMACK-812
This commit is contained in:
parent
bd08f11c4a
commit
a9ca1a0989
59 changed files with 134 additions and 133 deletions
|
|
@ -678,7 +678,7 @@ public class ConfigureForm extends Form
|
|||
return result.toString();
|
||||
}
|
||||
|
||||
static private boolean parseBoolean(String fieldValue)
|
||||
private static boolean parseBoolean(String fieldValue)
|
||||
{
|
||||
return ("1".equals(fieldValue) || "true".equals(fieldValue));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ import org.jivesoftware.smackx.shim.packet.Header;
|
|||
import org.jivesoftware.smackx.shim.packet.HeadersExtension;
|
||||
import org.jivesoftware.smackx.xdata.Form;
|
||||
|
||||
abstract public class Node
|
||||
public abstract class Node
|
||||
{
|
||||
protected final PubSubManager pubSubManager;
|
||||
protected final String id;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.jivesoftware.smackx.pubsub;
|
||||
|
||||
abstract public class NodeEvent
|
||||
public abstract class NodeEvent
|
||||
{
|
||||
private String nodeId;
|
||||
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ public class SubscribeForm extends Form
|
|||
}
|
||||
|
||||
|
||||
static private boolean parseBoolean(String fieldValue)
|
||||
private static boolean parseBoolean(String fieldValue)
|
||||
{
|
||||
return ("1".equals(fieldValue) || "true".equals(fieldValue));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ public enum SubscribeOptionFields
|
|||
return "pubsub#" + toString();
|
||||
}
|
||||
|
||||
static public SubscribeOptionFields valueOfFromElement(String elementName)
|
||||
public static SubscribeOptionFields valueOfFromElement(String elementName)
|
||||
{
|
||||
String portion = elementName.substring(elementName.lastIndexOf('#' + 1));
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import java.util.List;
|
|||
*
|
||||
* @author Robin Collier
|
||||
*/
|
||||
abstract public class SubscriptionEvent extends NodeEvent
|
||||
public abstract class SubscriptionEvent extends NodeEvent
|
||||
{
|
||||
private List<String> subIds = Collections.emptyList();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue