mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-12 08:01:08 +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
|
|
@ -47,7 +47,7 @@ import org.jivesoftware.smackx.disco.ServiceDiscoveryManager;
|
|||
*
|
||||
* @author Georg Lukas
|
||||
*/
|
||||
public class CarbonManager extends Manager {
|
||||
public final class CarbonManager extends Manager {
|
||||
|
||||
private static Map<XMPPConnection, CarbonManager> INSTANCES = new WeakHashMap<XMPPConnection, CarbonManager>();
|
||||
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ public class CarbonExtension implements ExtensionElement {
|
|||
* Stanza(/Packet) extension indicating that a message may not be carbon-copied. Adding this
|
||||
* extension to any message will disallow that message from being copied.
|
||||
*/
|
||||
public static class Private implements ExtensionElement {
|
||||
public static final class Private implements ExtensionElement {
|
||||
public static final Private INSTANCE = new Private();
|
||||
public static final String ELEMENT = "private";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue