'final'lize slf4j-compat classes

This commit is contained in:
JeremyStar™ 2024-09-06 21:00:22 +02:00
parent a870cbe11b
commit f96584ccd9
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
5 changed files with 5 additions and 4 deletions

View file

@ -34,7 +34,7 @@ import org.slf4j.helpers.MessageFormatter;
*
* @since v1-alpha0
*/
public class CompatibilityLogger extends LegacyAbstractLogger {
public final class CompatibilityLogger extends LegacyAbstractLogger {
/**
* Logger instance, used to print all log messages coming from SLF4J.
*

View file

@ -31,7 +31,7 @@ import java.util.concurrent.ConcurrentMap;
*
* @since v1-alpha0
*/
public class CompatibilityLoggerFactory implements ILoggerFactory {
public final class CompatibilityLoggerFactory implements ILoggerFactory {
ConcurrentMap<@NotNull String, @NotNull Logger> loggerMap;
/**

View file

@ -35,7 +35,7 @@ import org.slf4j.spi.SLF4JServiceProvider;
* @since v1-alpha0
*/
@Getter
public class CompatibilityLoggerProvider implements SLF4JServiceProvider {
public final class CompatibilityLoggerProvider implements SLF4JServiceProvider {
/**
* Contains a {@link CompatibilityLoggerFactory}.
*

View file

@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
*/
@EngineSubsystem
@SuppressWarnings({ "JavadocDeclaration" })
public class Slf4jCompatSubsystem extends SubsystemClass {
public final class Slf4jCompatSubsystem extends SubsystemClass {
/**
* Contains the class instance.
*

View file

@ -21,5 +21,6 @@
* Code of the SLF4J Compatibility subsystem.
*
* @see de.staropensource.sosengine.slf4j_compat.Slf4jCompatSubsystem#Slf4jCompatSubsystem()
* @since v1-alpha0
*/
package de.staropensource.sosengine.slf4j_compat;