diff --git a/smack-core/src/main/java/org/jivesoftware/smack/Roster.java b/smack-core/src/main/java/org/jivesoftware/smack/Roster.java index 598f99f9c..9985718ea 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/Roster.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/Roster.java @@ -782,15 +782,13 @@ public class Roster { * * This is used by {@link RosterPushListener} and {@link RosterResultListener}. * */ - private boolean hasValidSubscriptionType(RosterPacket.Item item) { + private static boolean hasValidSubscriptionType(RosterPacket.Item item) { return item.getItemType().equals(RosterPacket.ItemType.none) || item.getItemType().equals(RosterPacket.ItemType.from) || item.getItemType().equals(RosterPacket.ItemType.to) || item.getItemType().equals(RosterPacket.ItemType.both); } - - /** * An enumeration for the subscription mode options. */