mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-07 05:31:08 +01:00
Bump "Error Prone" to 2.3.2
and gradle-errorprone-plugin to 0.6.
This commit is contained in:
parent
ec7badfda0
commit
b7ea226c56
65 changed files with 173 additions and 149 deletions
|
|
@ -39,7 +39,7 @@ import org.jxmpp.jid.BareJid;
|
|||
* @author Matt Tucker
|
||||
* @author Florian Schmaus
|
||||
*/
|
||||
public class RosterPacket extends IQ {
|
||||
public final class RosterPacket extends IQ {
|
||||
|
||||
public static final String ELEMENT = QUERY_ELEMENT;
|
||||
public static final String NAMESPACE = "jabber:iq:roster";
|
||||
|
|
@ -110,7 +110,7 @@ public class RosterPacket extends IQ {
|
|||
* the groups the roster item belongs to.
|
||||
*/
|
||||
// TODO Make this class immutable.
|
||||
public static class Item implements NamedElement {
|
||||
public static final class Item implements NamedElement {
|
||||
|
||||
/**
|
||||
* The constant value "{@value}".
|
||||
|
|
@ -295,7 +295,7 @@ public class RosterPacket extends IQ {
|
|||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((groupNames == null) ? 0 : groupNames.hashCode());
|
||||
result = prime * result + ((subscriptionPending) ? 0 : 1);
|
||||
result = prime * result + (subscriptionPending ? 0 : 1);
|
||||
result = prime * result + ((itemType == null) ? 0 : itemType.hashCode());
|
||||
result = prime * result + ((name == null) ? 0 : name.hashCode());
|
||||
result = prime * result + ((jid == null) ? 0 : jid.hashCode());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue