Update order of SuppressWarnings & other annotations

This commit is contained in:
JeremyStar™ 2024-07-31 04:20:05 +02:00
parent d406fa0e3d
commit a261d7914e
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
48 changed files with 46 additions and 50 deletions

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
import java.nio.file.Files
// Plugins // Plugins
plugins { plugins {
id("java") id("java")

View file

@ -57,8 +57,8 @@ public class AnsiLoggerImplementation implements LoggerImplementation {
} }
/** {@inheritDoc} */ /** {@inheritDoc} */
@SuppressWarnings({ "resource" }) // Using try-with-resources will cause issues here
@Override @Override
@SuppressWarnings({ "resource" }) // Using try-with-resources will cause issues here
public void print(@NotNull LogLevel level, @NotNull Class<?> issuerClass, @NotNull String issuerOrigin, @Nullable String issuerMetadata, @NotNull String message, @NotNull String format) { public void print(@NotNull LogLevel level, @NotNull Class<?> issuerClass, @NotNull String issuerOrigin, @Nullable String issuerMetadata, @NotNull String message, @NotNull String format) {
// Convert to Ansi // Convert to Ansi
Ansi output = new AnsiShortcodeConverter(format, true).getAnsi(); Ansi output = new AnsiShortcodeConverter(format, true).getAnsi();

View file

@ -33,8 +33,8 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha2 * @since v1-alpha2
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class AnsiSubsystem extends SubsystemClass { public final class AnsiSubsystem extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -52,8 +52,8 @@ import java.util.*;
* @see EngineConfiguration * @see EngineConfiguration
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class Engine extends SubsystemClass { public final class Engine extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.
@ -175,7 +175,7 @@ public final class Engine extends SubsystemClass {
* @see CrashHandler#getCrashContent() * @see CrashHandler#getCrashContent()
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings("ExtractMethodRecommender") @SuppressWarnings({ "ExtractMethodRecommender" })
private void populateCrashContent() { private void populateCrashContent() {
// Issuer // Issuer
Map<@NotNull String, @NotNull String> crashContentIssuer = new LinkedHashMap<>(); Map<@NotNull String, @NotNull String> crashContentIssuer = new LinkedHashMap<>();

View file

@ -48,8 +48,8 @@ import java.util.Properties;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class EngineConfiguration extends Configuration { public final class EngineConfiguration extends Configuration {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -30,8 +30,8 @@ import java.lang.annotation.*;
* @see SubsystemClass * @see SubsystemClass
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings("unused")
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Documented @Documented
@SuppressWarnings("unused")
public @interface EngineSubsystem {} public @interface EngineSubsystem {}

View file

@ -31,10 +31,10 @@ import java.lang.annotation.*;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings("unused")
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD) @Target(ElementType.METHOD)
@Documented @Documented
@SuppressWarnings("unused")
public @interface EventListener { public @interface EventListener {
/** /**
* Specifies the event to listen for. * Specifies the event to listen for.

View file

@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class FourNumberVersioningSystem implements VersioningSystem { public final class FourNumberVersioningSystem implements VersioningSystem {
/** /**
* Contains the first number vector. * Contains the first number vector.

View file

@ -31,8 +31,8 @@ import org.jetbrains.annotations.Range;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class OneNumberVersioningSystem implements VersioningSystem { public final class OneNumberVersioningSystem implements VersioningSystem {
/** /**
* Contains the number vector. * Contains the number vector.

View file

@ -39,8 +39,8 @@ import java.util.List;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class SemanticVersioningSystem implements VersioningSystem { public final class SemanticVersioningSystem implements VersioningSystem {
/** /**
* Contains the {@code MAJOR} vector. * Contains the {@code MAJOR} vector.

View file

@ -40,8 +40,8 @@ import java.util.Locale;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class StarOpenSourceVersioningSystem implements VersioningSystem { public final class StarOpenSourceVersioningSystem implements VersioningSystem {
/** /**
* Contains the {@code VERSION} vector. * Contains the {@code VERSION} vector.

View file

@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class ThreeNumberVersioningSystem implements VersioningSystem { public final class ThreeNumberVersioningSystem implements VersioningSystem {
/** /**
* Contains the first number vector. * Contains the first number vector.

View file

@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class TwoNumberVersioningSystem implements VersioningSystem { public final class TwoNumberVersioningSystem implements VersioningSystem {
/** /**
* Contains the first number vector. * Contains the first number vector.

View file

@ -27,8 +27,8 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class UnexpectedThrowableException extends Exception { public class UnexpectedThrowableException extends Exception {
/** /**
* Contains the throwable supplied to the constructor. * Contains the throwable supplied to the constructor.

View file

@ -32,8 +32,8 @@ import java.util.Map;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class UnmetDependenciesException extends Exception { public class UnmetDependenciesException extends Exception {
/** /**
* Contains the unmet dependencies list supplied to the constructor. * Contains the unmet dependencies list supplied to the constructor.

View file

@ -34,8 +34,8 @@ import java.util.List;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class DependencySubsystemVector extends DependencyVector { public final class DependencySubsystemVector extends DependencyVector {
/** /**
* Contains the associated {@link SubsystemClass}. * Contains the associated {@link SubsystemClass}.

View file

@ -28,8 +28,8 @@ import org.jetbrains.annotations.Nullable;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class LoggerInstance { public final class LoggerInstance {
/** /**
* Contains the {@link Class} of the issuer. * Contains the {@link Class} of the issuer.

View file

@ -37,8 +37,8 @@ import java.lang.reflect.Modifier;
* *
* @since v1-alpha2 * @since v1-alpha2
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class ReflectionField { public final class ReflectionField {
/** /**

View file

@ -42,8 +42,8 @@ import java.lang.reflect.Modifier;
* *
* @since v1-alpha2 * @since v1-alpha2
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class ReflectionMethod { public final class ReflectionMethod {
/** /**
* Contains a reference to the parent class. * Contains a reference to the parent class.

View file

@ -32,8 +32,8 @@ import java.util.List;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class DependencyVector { public class DependencyVector {
/** /**
* Contains the identifier of this vector. * Contains the identifier of this vector.

View file

@ -28,8 +28,8 @@ import org.jetbrains.annotations.Nullable;
* *
* @since v1-alpha1 * @since v1-alpha1
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public abstract class LogRule { public abstract class LogRule {
/** /**
* Contains if the log rule should disallow or permit matching log calls. * Contains if the log rule should disallow or permit matching log calls.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec2d { public class Vec2d {
/** /**
* The X axis value. * The X axis value.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec2f { public class Vec2f {
/** /**
* The X axis value. * The X axis value.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec2i implements Cloneable { public class Vec2i implements Cloneable {
/** /**
* The X axis value. * The X axis value.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec3d { public class Vec3d {
/** /**
* The X axis value. * The X axis value.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec3f { public class Vec3f {
/** /**
* The X axis value. * The X axis value.

View file

@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@Setter @Setter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Vec3i { public class Vec3i {
/** /**
* The X axis value. * The X axis value.

View file

@ -69,8 +69,8 @@ public final class PlaceholderEngine {
* @return list of all global placeholders * @return list of all global placeholders
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings("FieldMayBeFinal")
@Getter @Getter
@SuppressWarnings("FieldMayBeFinal")
private @NotNull List<@NotNull Placeholder> placeholders = new ArrayList<>(); private @NotNull List<@NotNull Placeholder> placeholders = new ArrayList<>();
/** /**

View file

@ -33,7 +33,6 @@ import java.util.Properties;
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" }) @SuppressWarnings({ "unused", "JavadocDeclaration" })
@NotNull
public final class PropertyParser { public final class PropertyParser {
/** /**
* Contains an instance providing access to the system properties. * Contains an instance providing access to the system properties.

View file

@ -30,8 +30,8 @@ import org.jetbrains.annotations.NotNull;
* @see Throwable * @see Throwable
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused" })
// TODO deprecate """parser""" and move getHeader() to Miscellaneous class // TODO deprecate """parser""" and move getHeader() to Miscellaneous class
@SuppressWarnings({ "unused" })
public final class StackTraceParser { public final class StackTraceParser {
/** /**
* Contains the {@link Throwable} to parse. * Contains the {@link Throwable} to parse.

View file

@ -34,8 +34,8 @@ import static org.junit.jupiter.api.Assertions.*;
/** /**
* Tests the class {@link EngineConfiguration}. * Tests the class {@link EngineConfiguration}.
*/ */
@SuppressWarnings("unused")
@DisplayName("EngineConfiguration") @DisplayName("EngineConfiguration")
@SuppressWarnings({ "unused" })
class EngineConfigurationTest extends TestBase { class EngineConfigurationTest extends TestBase {
/** /**
* Tests the method {@code loadConfiguration}. * Tests the method {@code loadConfiguration}.

View file

@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link FourNumberVersioningSystem}. * Tests the class {@link FourNumberVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("FourNumberVersioningSystem") @DisplayName("FourNumberVersioningSystem")
@SuppressWarnings({ "unused" })
public class FourNumberVersioningSystemTest extends TestBase { public class FourNumberVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -33,8 +33,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link TwoNumberVersioningSystem}. * Tests the class {@link TwoNumberVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("OneNumberVersioningSystem") @DisplayName("OneNumberVersioningSystem")
@SuppressWarnings({ "unused" })
public class OneNumberVersioningSystemTest extends TestBase { public class OneNumberVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link SemanticVersioningSystem}. * Tests the class {@link SemanticVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("SemanticVersioningSystem") @DisplayName("SemanticVersioningSystem")
@SuppressWarnings({ "unused" })
public class SemanticVersioningSystemTest extends TestBase { public class SemanticVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -33,8 +33,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link SemanticVersioningSystem}. * Tests the class {@link SemanticVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("StarOpenSourceVersioningSystem") @DisplayName("StarOpenSourceVersioningSystem")
@SuppressWarnings({ "unused" })
public class StarOpenSourceVersioningSystemTest extends TestBase { public class StarOpenSourceVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link ThreeNumberVersioningSystem}. * Tests the class {@link ThreeNumberVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("ThreeNumberVersioningSystem") @DisplayName("ThreeNumberVersioningSystem")
@SuppressWarnings({ "unused" })
public class ThreeNumberVersioningSystemTest extends TestBase { public class ThreeNumberVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail;
/** /**
* Tests the class {@link TwoNumberVersioningSystem}. * Tests the class {@link TwoNumberVersioningSystem}.
*/ */
@SuppressWarnings({ "unused" })
@DisplayName("TwoNumberVersioningSystem") @DisplayName("TwoNumberVersioningSystem")
@SuppressWarnings({ "unused" })
public class TwoNumberVersioningSystemTest extends TestBase { public class TwoNumberVersioningSystemTest extends TestBase {
/** /**
* Tests the method {@code compare}. * Tests the method {@code compare}.

View file

@ -42,8 +42,8 @@ import static org.junit.jupiter.api.Assertions.*;
/** /**
* Tests the class {@link Miscellaneous}. * Tests the class {@link Miscellaneous}.
*/ */
@SuppressWarnings("unused")
@DisplayName("Miscellaneous") @DisplayName("Miscellaneous")
@SuppressWarnings({ "unused" })
public class MiscellaneousTest extends TestBase { public class MiscellaneousTest extends TestBase {
/** /**
* Used for testing the method {@code executeSafely}. * Used for testing the method {@code executeSafely}.

View file

@ -35,8 +35,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
/** /**
* Tests the class {@link PlaceholderEngine}. * Tests the class {@link PlaceholderEngine}.
*/ */
@SuppressWarnings("unused")
@DisplayName("PlaceholderEngine") @DisplayName("PlaceholderEngine")
@SuppressWarnings({ "unused" })
class PlaceholderEngineTest extends TestBase { class PlaceholderEngineTest extends TestBase {
/** /**
* Tests the method {@code process}. * Tests the method {@code process}.

View file

@ -43,8 +43,8 @@ import static org.lwjgl.glfw.GLFW.*;
* *
* @since v1-alpha2 * @since v1-alpha2
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class GlfwSubsystem extends SubsystemClass { public final class GlfwSubsystem extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -31,8 +31,8 @@ import org.jetbrains.annotations.Nullable;
* *
* @since v1-alpha2 * @since v1-alpha2
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class GlfwSubsystemConfiguration extends Configuration { public final class GlfwSubsystemConfiguration extends Configuration {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -46,8 +46,8 @@ import static org.lwjgl.glfw.GLFW.*;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class OpenGlSubsystem extends ApiClass { public final class OpenGlSubsystem extends ApiClass {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -48,8 +48,8 @@ import java.util.Map;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class GraphicsSubsystem extends SubsystemClass { public final class GraphicsSubsystem extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -32,8 +32,8 @@ import org.jetbrains.annotations.Nullable;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@Getter @Getter
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class GraphicsSubsystemConfiguration extends Configuration { public final class GraphicsSubsystemConfiguration extends Configuration {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -37,8 +37,8 @@ import static org.lwjgl.glfw.GLFW.glfwTerminate;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public final class VulkanSubsystem extends SubsystemClass { public final class VulkanSubsystem extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.

View file

@ -146,7 +146,6 @@ public class CompatibilityLogger extends LegacyAbstractLogger {
* @see #forwardLogCall(Level, String, Object[], Throwable) * @see #forwardLogCall(Level, String, Object[], Throwable)
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings("unused")
public void log(@NotNull LoggingEvent event) { public void log(@NotNull LoggingEvent event) {
NormalizedParameters np = NormalizedParameters.normalize(event); NormalizedParameters np = NormalizedParameters.normalize(event);
forwardLogCall(event.getLevel(), np.getMessage(), np.getArguments(), event.getThrowable()); forwardLogCall(event.getLevel(), np.getMessage(), np.getArguments(), event.getThrowable());

View file

@ -34,8 +34,8 @@ import org.slf4j.spi.SLF4JServiceProvider;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused" })
@Getter @Getter
@SuppressWarnings({ "unused" })
public class CompatibilityLoggerProvider implements SLF4JServiceProvider { public class CompatibilityLoggerProvider implements SLF4JServiceProvider {
/** /**
* Contains a {@link CompatibilityLoggerFactory}. * Contains a {@link CompatibilityLoggerFactory}.

View file

@ -40,8 +40,8 @@ import org.slf4j.LoggerFactory;
* *
* @since v1-alpha0 * @since v1-alpha0
*/ */
@SuppressWarnings({ "unused", "JavadocDeclaration" })
@EngineSubsystem @EngineSubsystem
@SuppressWarnings({ "unused", "JavadocDeclaration" })
public class Slf4jCompatSubsystem extends SubsystemClass { public class Slf4jCompatSubsystem extends SubsystemClass {
/** /**
* Contains the class instance. * Contains the class instance.