mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-10 07:01:07 +01:00
Add FinalClass checkstyle check
And mark affected classes final.
This commit is contained in:
parent
5ae1fbd25a
commit
b4694ec152
72 changed files with 80 additions and 79 deletions
|
|
@ -24,7 +24,7 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
|||
public class StreamManagement {
|
||||
public static final String NAMESPACE = "urn:xmpp:sm:3";
|
||||
|
||||
public static class StreamManagementFeature implements ExtensionElement {
|
||||
public static final class StreamManagementFeature implements ExtensionElement {
|
||||
|
||||
public static final String ELEMENT = "sm";
|
||||
public static final StreamManagementFeature INSTANCE = new StreamManagementFeature();
|
||||
|
|
@ -320,7 +320,7 @@ public class StreamManagement {
|
|||
}
|
||||
}
|
||||
|
||||
public static class AckRequest extends FullStreamElement {
|
||||
public static final class AckRequest extends FullStreamElement {
|
||||
public static final String ELEMENT = "r";
|
||||
public static final AckRequest INSTANCE = new AckRequest();
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import org.jivesoftware.smack.filter.StanzaFilter;
|
|||
import org.jivesoftware.smack.packet.Message;
|
||||
import org.jivesoftware.smack.packet.Stanza;
|
||||
|
||||
public class ForEveryMessage implements StanzaFilter {
|
||||
public final class ForEveryMessage implements StanzaFilter {
|
||||
|
||||
public static final ForEveryMessage INSTANCE = new ForEveryMessage();
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ package org.jivesoftware.smack.sm.predicates;
|
|||
import org.jivesoftware.smack.filter.StanzaFilter;
|
||||
import org.jivesoftware.smack.packet.Stanza;
|
||||
|
||||
public class ForEveryStanza implements StanzaFilter {
|
||||
public final class ForEveryStanza implements StanzaFilter {
|
||||
|
||||
public static final ForEveryStanza INSTANCE = new ForEveryStanza();
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import org.jivesoftware.smack.packet.Stanza;
|
|||
import org.jivesoftware.smack.tcp.XMPPTCPConnection;
|
||||
import org.jivesoftware.smack.util.StringUtils;
|
||||
|
||||
public class OnceForThisStanza implements StanzaFilter {
|
||||
public final class OnceForThisStanza implements StanzaFilter {
|
||||
|
||||
private final String id;
|
||||
private final XMPPTCPConnection connection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue