diff --git a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java index 830e6ac..23fc467 100644 --- a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java +++ b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java @@ -35,7 +35,6 @@ import org.jetbrains.annotations.Nullable; * @see LoggerImplementation * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class AnsiLoggerImplementation implements LoggerImplementation { /** * Constructs this class. diff --git a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiShortcodeConverter.java b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiShortcodeConverter.java index 8977aab..e28fc5a 100644 --- a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiShortcodeConverter.java +++ b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiShortcodeConverter.java @@ -30,7 +30,6 @@ import org.jetbrains.annotations.NotNull; * @see ShortcodeParserSkeleton * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class AnsiShortcodeConverter extends ShortcodeParserSkeleton { /** * Constructs this class. diff --git a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java index 7db5830..e88bd46 100644 --- a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java +++ b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java @@ -34,7 +34,7 @@ import org.jetbrains.annotations.NotNull; * @since v1-alpha2 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class AnsiSubsystem extends SubsystemClass { /** * Contains the class instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/Engine.java b/base/src/main/java/de/staropensource/sosengine/base/Engine.java index 4b3eaa5..27c6dae 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/Engine.java +++ b/base/src/main/java/de/staropensource/sosengine/base/Engine.java @@ -58,7 +58,7 @@ import java.util.*; * @since v1-alpha0 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class Engine extends SubsystemClass { /** * Contains the class instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java b/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java index 7364554..4166739 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java +++ b/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java @@ -50,7 +50,7 @@ import java.util.Properties; * @since v1-alpha0 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class EngineConfiguration extends Configuration { /** * Contains the class instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/annotations/EngineSubsystem.java b/base/src/main/java/de/staropensource/sosengine/base/annotations/EngineSubsystem.java index ea6ef8a..e970f27 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/annotations/EngineSubsystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/annotations/EngineSubsystem.java @@ -33,5 +33,4 @@ import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented -@SuppressWarnings("unused") public @interface EngineSubsystem {} diff --git a/base/src/main/java/de/staropensource/sosengine/base/annotations/EventListener.java b/base/src/main/java/de/staropensource/sosengine/base/annotations/EventListener.java index 9a367d7..8bdff3c 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/annotations/EventListener.java +++ b/base/src/main/java/de/staropensource/sosengine/base/annotations/EventListener.java @@ -34,7 +34,6 @@ import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented -@SuppressWarnings("unused") public @interface EventListener { /** * Specifies the event to listen for. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/Configuration.java b/base/src/main/java/de/staropensource/sosengine/base/classes/Configuration.java index 5137bf1..0aa8cb4 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/Configuration.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/Configuration.java @@ -35,7 +35,6 @@ import java.util.Properties; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public abstract class Configuration { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/Event.java b/base/src/main/java/de/staropensource/sosengine/base/classes/Event.java index dc88843..79c9d17 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/Event.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/Event.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.classes.helpers.EventHelper; * @see EventHelper * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public interface Event { /** * Emits the event and calls all event listeners. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/LoggerImplementation.java b/base/src/main/java/de/staropensource/sosengine/base/classes/LoggerImplementation.java index 38b9702..02e5746 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/LoggerImplementation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/LoggerImplementation.java @@ -30,7 +30,6 @@ import org.jetbrains.annotations.Nullable; * @see Logger#setLoggerImplementation(LoggerImplementation) * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public interface LoggerImplementation { /** * Invoked before anything is done with the log message. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/Placeholder.java b/base/src/main/java/de/staropensource/sosengine/base/classes/Placeholder.java index c568fdc..b96860e 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/Placeholder.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/Placeholder.java @@ -28,7 +28,6 @@ import org.jetbrains.annotations.NotNull; * @see PlaceholderEngine * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public interface Placeholder { /** * Replaces the placeholder with content. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/ShortcodeParserSkeleton.java b/base/src/main/java/de/staropensource/sosengine/base/classes/ShortcodeParserSkeleton.java index 119fc92..512ab1b 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/ShortcodeParserSkeleton.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/ShortcodeParserSkeleton.java @@ -48,7 +48,7 @@ import java.util.Locale; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class ShortcodeParserSkeleton { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/SubsystemClass.java b/base/src/main/java/de/staropensource/sosengine/base/classes/SubsystemClass.java index e26a249..205ddc1 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/SubsystemClass.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/SubsystemClass.java @@ -33,7 +33,6 @@ import org.jetbrains.annotations.NotNull; * @see EngineSubsystem * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public abstract class SubsystemClass { /** * Constructs this class. @@ -84,5 +83,6 @@ public abstract class SubsystemClass { * @since v1-alpha0 */ @EventListener(event = InternalEngineShutdownEvent.class) + @SuppressWarnings({ "unused" }) protected static void shutdownSubsystem() {} } diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/VersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/classes/VersioningSystem.java index 0fd8002..ab02e39 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/VersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/VersioningSystem.java @@ -28,7 +28,6 @@ import org.jetbrains.annotations.Range; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public interface VersioningSystem { /** * Returns the name of the versioning system. diff --git a/base/src/main/java/de/staropensource/sosengine/base/classes/helpers/EventHelper.java b/base/src/main/java/de/staropensource/sosengine/base/classes/helpers/EventHelper.java index 6fbd09a..7282582 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/classes/helpers/EventHelper.java +++ b/base/src/main/java/de/staropensource/sosengine/base/classes/helpers/EventHelper.java @@ -53,7 +53,6 @@ import java.util.Set; * @since v1-alpha0 */ @Getter -@SuppressWarnings({ "unused" }) public final class EventHelper { /** * Holds all cached events. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java b/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java index ed2f1f4..74e7522 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/information/EngineInformation.java @@ -42,7 +42,7 @@ import java.util.Properties; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class EngineInformation { /** * Contains the {@link LoggerInstance} for this instance. @@ -363,7 +363,6 @@ public final class EngineInformation { gradleProperties.load(gradleStream); gradleStream.close(); } catch (IOException exception) { - StackTraceParser parser = new StackTraceParser(exception); logger.crash("Unable to load build information: InputStream 'gradleStream' failed", exception); return; } @@ -391,7 +390,6 @@ public final class EngineInformation { gitProperties.load(gitStream); gitStream.close(); } catch (IOException exception) { - StackTraceParser parser = new StackTraceParser(exception); logger.crash("Unable to load build information: InputStream 'gitStream' failed", exception); return; } diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/FourNumberVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/FourNumberVersioningSystem.java index 46f3adf..b978c01 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/FourNumberVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/FourNumberVersioningSystem.java @@ -33,7 +33,7 @@ import org.jetbrains.annotations.Range; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class FourNumberVersioningSystem implements VersioningSystem { /** * Contains the first number vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/OneNumberVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/OneNumberVersioningSystem.java index 5c9adf2..56f9736 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/OneNumberVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/OneNumberVersioningSystem.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.Range; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class OneNumberVersioningSystem implements VersioningSystem { /** * Contains the number vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/SemanticVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/SemanticVersioningSystem.java index 2db15d6..93b4a24 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/SemanticVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/SemanticVersioningSystem.java @@ -40,7 +40,7 @@ import java.util.List; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class SemanticVersioningSystem implements VersioningSystem { /** * Contains the {@code MAJOR} vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/StarOpenSourceVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/StarOpenSourceVersioningSystem.java index 5ea4c24..dda30bd 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/StarOpenSourceVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/StarOpenSourceVersioningSystem.java @@ -41,7 +41,7 @@ import java.util.Locale; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class StarOpenSourceVersioningSystem implements VersioningSystem { /** * Contains the {@code VERSION} vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/ThreeNumberVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/ThreeNumberVersioningSystem.java index 23492f3..25aed84 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/ThreeNumberVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/ThreeNumberVersioningSystem.java @@ -33,7 +33,7 @@ import org.jetbrains.annotations.Range; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class ThreeNumberVersioningSystem implements VersioningSystem { /** * Contains the first number vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/TwoNumberVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/TwoNumberVersioningSystem.java index adcca50..0e32240 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/versioning/TwoNumberVersioningSystem.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/TwoNumberVersioningSystem.java @@ -33,7 +33,7 @@ import org.jetbrains.annotations.Range; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class TwoNumberVersioningSystem implements VersioningSystem { /** * Contains the first number vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/events/EngineCrashEvent.java b/base/src/main/java/de/staropensource/sosengine/base/events/EngineCrashEvent.java index 82b023e..32ab3fa 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/events/EngineCrashEvent.java +++ b/base/src/main/java/de/staropensource/sosengine/base/events/EngineCrashEvent.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.classes.helpers.EventHelper; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class EngineCrashEvent implements Event { /** * Constructs this event. diff --git a/base/src/main/java/de/staropensource/sosengine/base/events/EngineSoftCrashEvent.java b/base/src/main/java/de/staropensource/sosengine/base/events/EngineSoftCrashEvent.java index 974dc66..1b504c9 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/events/EngineSoftCrashEvent.java +++ b/base/src/main/java/de/staropensource/sosengine/base/events/EngineSoftCrashEvent.java @@ -31,7 +31,6 @@ import de.staropensource.sosengine.base.logging.Logger; * @see Logger#crash(Class, String, String, String, Throwable, boolean) * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class EngineSoftCrashEvent implements Event { /** * Constructs this event. diff --git a/base/src/main/java/de/staropensource/sosengine/base/events/LogEvent.java b/base/src/main/java/de/staropensource/sosengine/base/events/LogEvent.java index a665329..b0026b3 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/events/LogEvent.java +++ b/base/src/main/java/de/staropensource/sosengine/base/events/LogEvent.java @@ -30,7 +30,6 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class LogEvent implements Event { /** * Constructs this event. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/NoAccessException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/NoAccessException.java index 8af0b8b..4a7fd77 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/NoAccessException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/NoAccessException.java @@ -29,7 +29,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class NoAccessException extends RuntimeException { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/UnexpectedThrowableException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/UnexpectedThrowableException.java index 79d1ac6..9cd222d 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/UnexpectedThrowableException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/UnexpectedThrowableException.java @@ -28,7 +28,7 @@ import org.jetbrains.annotations.NotNull; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class UnexpectedThrowableException extends Exception { /** * Contains the throwable supplied to the constructor. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/DependencyCycleException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/DependencyCycleException.java index cf97541..20dc52c 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/DependencyCycleException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/DependencyCycleException.java @@ -27,7 +27,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public class DependencyCycleException extends RuntimeException { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/UnmetDependenciesException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/UnmetDependenciesException.java index 545cbf3..c654eff 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/UnmetDependenciesException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/UnmetDependenciesException.java @@ -33,7 +33,7 @@ import java.util.Map; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class UnmetDependenciesException extends Exception { /** * Contains the unmet dependencies list supplied to the constructor. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/IncompatibleTypeException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/IncompatibleTypeException.java index 137c942..d83c352 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/IncompatibleTypeException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/IncompatibleTypeException.java @@ -28,7 +28,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class IncompatibleTypeException extends RuntimeException { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidFieldException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidFieldException.java index ac6c4fb..6268598 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidFieldException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidFieldException.java @@ -27,7 +27,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class InvalidFieldException extends Exception { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodException.java index e30620b..18a9604 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodException.java @@ -27,7 +27,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class InvalidMethodException extends Exception { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodSignature.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodSignature.java index c2fd56f..ce43049 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodSignature.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/InvalidMethodSignature.java @@ -26,7 +26,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class InvalidMethodSignature extends Exception { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/NoAccessException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/NoAccessException.java index 8e99648..7d2e369 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/NoAccessException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/NoAccessException.java @@ -26,7 +26,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public class NoAccessException extends Exception { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/StaticInitializerException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/StaticInitializerException.java index 524f14b..72d5d41 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/StaticInitializerException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/reflection/StaticInitializerException.java @@ -28,7 +28,7 @@ import org.jetbrains.annotations.NotNull; * @since v1-alpha2 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class StaticInitializerException extends Exception { /** * Contains the throwable thrown by the static initializer. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/IncompatibleVersioningSystemException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/IncompatibleVersioningSystemException.java index e2fbe31..3604608 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/IncompatibleVersioningSystemException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/IncompatibleVersioningSystemException.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.classes.VersioningSystem; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public class IncompatibleVersioningSystemException extends RuntimeException { /** * Constructs this exception. diff --git a/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/InvalidVersionStringException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/InvalidVersionStringException.java index 1a9fcca..ae1ca28 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/InvalidVersionStringException.java +++ b/base/src/main/java/de/staropensource/sosengine/base/exceptions/versioning/InvalidVersionStringException.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.Nullable; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class InvalidVersionStringException extends Exception { /** * Contains the throwable supplied to the constructor. diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/reflection/ReflectionAccessWidener.java b/base/src/main/java/de/staropensource/sosengine/base/internal/reflection/ReflectionAccessWidener.java index 7caf5dd..0d25cef 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/reflection/ReflectionAccessWidener.java +++ b/base/src/main/java/de/staropensource/sosengine/base/internal/reflection/ReflectionAccessWidener.java @@ -31,7 +31,6 @@ import java.lang.reflect.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class ReflectionAccessWidener { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/types/DependencySubsystemVector.java b/base/src/main/java/de/staropensource/sosengine/base/internal/types/DependencySubsystemVector.java index d401285..8ef08af 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/types/DependencySubsystemVector.java +++ b/base/src/main/java/de/staropensource/sosengine/base/internal/types/DependencySubsystemVector.java @@ -36,7 +36,7 @@ import java.util.Set; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class DependencySubsystemVector extends DependencyVector { /** * Contains the associated {@link SubsystemClass}. diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java b/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java index 5f1c6b7..c4f5f9f 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/CrashHandler.java @@ -44,7 +44,7 @@ import java.util.List; * @see LoggerInstance * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class CrashHandler { /** * Contains the template used to print a crash report. diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java b/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java index a3075e1..6ff0d1d 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/Logger.java @@ -50,7 +50,7 @@ import java.util.List; * @see CrashHandler * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class Logger { /** * Refers to the active {@link LoggerImplementation} that is used to process and print log messages. diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggerInstance.java b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggerInstance.java index 36b4c3c..7314e91 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggerInstance.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggerInstance.java @@ -31,7 +31,7 @@ import org.jetbrains.annotations.Nullable; * @since v1-alpha0 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class LoggerInstance { /** * Contains the {@link Class} of the issuer. diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/PlainLoggerImplementation.java b/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/PlainLoggerImplementation.java index 3c804bb..609ba1d 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/PlainLoggerImplementation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/PlainLoggerImplementation.java @@ -34,7 +34,6 @@ import org.jetbrains.annotations.Nullable; * @see LoggerImplementation * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public class PlainLoggerImplementation implements LoggerImplementation { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/RawLoggerImplementation.java b/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/RawLoggerImplementation.java index 3807bc3..a7752d3 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/RawLoggerImplementation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/implementation/RawLoggerImplementation.java @@ -34,7 +34,6 @@ import org.jetbrains.annotations.Nullable; * @see LoggerImplementation * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public class RawLoggerImplementation implements LoggerImplementation { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/reflection/ClasspathAccess.java b/base/src/main/java/de/staropensource/sosengine/base/reflection/ClasspathAccess.java index 4b9b126..136631e 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/reflection/ClasspathAccess.java +++ b/base/src/main/java/de/staropensource/sosengine/base/reflection/ClasspathAccess.java @@ -38,7 +38,6 @@ import java.util.Map; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class ClasspathAccess { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/reflection/Reflect.java b/base/src/main/java/de/staropensource/sosengine/base/reflection/Reflect.java index 5332911..1cb24ff 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/reflection/Reflect.java +++ b/base/src/main/java/de/staropensource/sosengine/base/reflection/Reflect.java @@ -29,7 +29,6 @@ import java.lang.reflect.Method; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class Reflect { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/DependencyVector.java b/base/src/main/java/de/staropensource/sosengine/base/types/DependencyVector.java index 61dc5d5..5779433 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/DependencyVector.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/DependencyVector.java @@ -36,7 +36,7 @@ import java.util.Set; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class DependencyVector { /** * Contains the identifier of this vector. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/EngineState.java b/base/src/main/java/de/staropensource/sosengine/base/types/EngineState.java index 034c794..5f67152 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/EngineState.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/EngineState.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.logging.Logger; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public enum EngineState { /** * The state of the engine is currently unknown. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/EventPriority.java b/base/src/main/java/de/staropensource/sosengine/base/types/EventPriority.java index 2fc5600..2fae1ef 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/EventPriority.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/EventPriority.java @@ -26,7 +26,7 @@ import de.staropensource.sosengine.base.annotations.EventListener; * * @since v1-alpha0 */ -@SuppressWarnings("unused") +@SuppressWarnings({ "unused" }) public enum EventPriority { /** * {@link EventListener}s with this priority are processed first, even before {@link #VERY_IMPORTANT}. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/Tristate.java b/base/src/main/java/de/staropensource/sosengine/base/types/Tristate.java index a8ecde4..54d24e3 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/Tristate.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/Tristate.java @@ -27,7 +27,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public enum Tristate { /** * An unset tristate. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogLevel.java b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogLevel.java index b067bea..798b712 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogLevel.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogLevel.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.logging.Logger; * @see Logger * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public enum LogLevel { /** * Indicates that the log call is diagnostic and solely provides debugging information. It is not important. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRule.java b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRule.java index d0515ac..00d39b5 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRule.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRule.java @@ -29,7 +29,7 @@ import org.jetbrains.annotations.Nullable; * @since v1-alpha1 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class LogRule { /** * Contains if the log rule should disallow or permit matching log calls. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRuleType.java b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRuleType.java index 06c0e17..ae1203e 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRuleType.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/logging/LogRuleType.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.base.types.logging; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public enum LogRuleType { /** * Indicates that log calls matching this rule will always be allowed, even if blacklisted. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/reflection/ClassType.java b/base/src/main/java/de/staropensource/sosengine/base/types/reflection/ClassType.java index f29879c..6280d79 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/reflection/ClassType.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/reflection/ClassType.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.base.types.reflection; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public enum ClassType { /** * Identifies the class as a {@code class} class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/reflection/VisibilityModifier.java b/base/src/main/java/de/staropensource/sosengine/base/types/reflection/VisibilityModifier.java index 411346b..c8b6a69 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/reflection/VisibilityModifier.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/reflection/VisibilityModifier.java @@ -28,7 +28,6 @@ import java.lang.reflect.Modifier; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public enum VisibilityModifier { /** * Marks the class, method or field as public. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2d.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2d.java index 052b808..528ac89 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2d.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2d.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec2d { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2f.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2f.java index 8989bf8..51f893a 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2f.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2f.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec2f { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2i.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2i.java index 4c3258b..a9cba23 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2i.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2i.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec2i implements Cloneable { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3d.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3d.java index 5d62396..fab1d9a 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3d.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3d.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec3d { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3f.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3f.java index d2d44a6..dca182f 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3f.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3f.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec3f { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3i.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3i.java index 7bb6980..82487c1 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3i.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec3i.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.NotNull; */ @Getter @Setter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Vec3i { /** * The X axis value. diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java b/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java index 51e6625..44da662 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java @@ -31,7 +31,6 @@ import java.util.Set; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class ListFormatter { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/Math.java b/base/src/main/java/de/staropensource/sosengine/base/utility/Math.java index d27d636..54c9978 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/Math.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/Math.java @@ -30,7 +30,7 @@ import java.util.LinkedList; * @since v1-alpha2 */ // All mean and double methods have been sourced -// from https://stackoverflow.com/a/4191729, tysm +// from https://stackoverflow.com/a/4191729, tysm! @SuppressWarnings({ "unused" }) public final class Math { /** diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/PlaceholderEngine.java b/base/src/main/java/de/staropensource/sosengine/base/utility/PlaceholderEngine.java index 9f4d47d..7afaa11 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/PlaceholderEngine.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/PlaceholderEngine.java @@ -35,7 +35,7 @@ import java.util.List; * @see Placeholder * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class PlaceholderEngine { /** * Contains the class instance. diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/PropertiesReader.java b/base/src/main/java/de/staropensource/sosengine/base/utility/PropertiesReader.java index a671ea4..acd84d5 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/PropertiesReader.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/PropertiesReader.java @@ -32,7 +32,7 @@ import java.util.Properties; * @see Properties * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class PropertiesReader { /** * Contains an instance providing access to the system properties. diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/converter/EmptyShortcodeConverter.java b/base/src/main/java/de/staropensource/sosengine/base/utility/converter/EmptyShortcodeConverter.java index 9f713e5..06bf841 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/converter/EmptyShortcodeConverter.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/converter/EmptyShortcodeConverter.java @@ -29,7 +29,6 @@ import org.jetbrains.annotations.NotNull; * @see ShortcodeParserSkeleton * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public final class EmptyShortcodeConverter extends ShortcodeParserSkeleton { /** * Constructs this class. diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/parser/StackTraceParser.java b/base/src/main/java/de/staropensource/sosengine/base/utility/parser/StackTraceParser.java index d1e7953..406b78d 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/parser/StackTraceParser.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/parser/StackTraceParser.java @@ -31,7 +31,6 @@ import org.jetbrains.annotations.NotNull; * @since v1-alpha0 */ // TODO deprecate """parser""" and move getHeader() to Miscellaneous class -@SuppressWarnings({ "unused" }) public final class StackTraceParser { /** * Contains the {@link Throwable} to parse. diff --git a/base/src/main/java/de/staropensource/sosengine/unittests/UnitLogger.java b/base/src/main/java/de/staropensource/sosengine/unittests/UnitLogger.java index a555c42..0871c75 100644 --- a/base/src/main/java/de/staropensource/sosengine/unittests/UnitLogger.java +++ b/base/src/main/java/de/staropensource/sosengine/unittests/UnitLogger.java @@ -29,7 +29,6 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha0 */ -@SuppressWarnings("unused") public class UnitLogger { /** * The parent class, similar to {@link LoggerInstance}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java index d74dbb2..8b86571 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java @@ -35,7 +35,6 @@ import static org.junit.jupiter.api.Assertions.*; * Tests the class {@link EngineConfiguration}. */ @DisplayName("EngineConfiguration") -@SuppressWarnings({ "unused" }) class EngineConfigurationTest extends TestBase { /** * Tests the method {@code loadConfiguration}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/TestBase.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/TestBase.java index be33db1..74e4dca 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/TestBase.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/TestBase.java @@ -30,7 +30,6 @@ import java.util.Objects; /** * A class implemented by all tests. */ -@SuppressWarnings({ "unused" }) public class TestBase { /** * Instance of this test class. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/FourNumberVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/FourNumberVersioningSystemTest.java index 2a56f55..15ad3b7 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/FourNumberVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/FourNumberVersioningSystemTest.java @@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link FourNumberVersioningSystem}. */ @DisplayName("FourNumberVersioningSystem") -@SuppressWarnings({ "unused" }) public class FourNumberVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/OneNumberVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/OneNumberVersioningSystemTest.java index 6430e70..d680d51 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/OneNumberVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/OneNumberVersioningSystemTest.java @@ -34,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link TwoNumberVersioningSystem}. */ @DisplayName("OneNumberVersioningSystem") -@SuppressWarnings({ "unused" }) public class OneNumberVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/SemanticVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/SemanticVersioningSystemTest.java index bc40cb0..dd99fe2 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/SemanticVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/SemanticVersioningSystemTest.java @@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link SemanticVersioningSystem}. */ @DisplayName("SemanticVersioningSystem") -@SuppressWarnings({ "unused" }) public class SemanticVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/StarOpenSourceVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/StarOpenSourceVersioningSystemTest.java index 923d3e6..37c756f 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/StarOpenSourceVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/StarOpenSourceVersioningSystemTest.java @@ -34,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link SemanticVersioningSystem}. */ @DisplayName("StarOpenSourceVersioningSystem") -@SuppressWarnings({ "unused" }) public class StarOpenSourceVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/ThreeNumberVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/ThreeNumberVersioningSystemTest.java index 1d3568d..91ecf6d 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/ThreeNumberVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/ThreeNumberVersioningSystemTest.java @@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link ThreeNumberVersioningSystem}. */ @DisplayName("ThreeNumberVersioningSystem") -@SuppressWarnings({ "unused" }) public class ThreeNumberVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/TwoNumberVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/TwoNumberVersioningSystemTest.java index 537e629..022b603 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/TwoNumberVersioningSystemTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/TwoNumberVersioningSystemTest.java @@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.fail; * Tests the class {@link TwoNumberVersioningSystem}. */ @DisplayName("TwoNumberVersioningSystem") -@SuppressWarnings({ "unused" }) public class TwoNumberVersioningSystemTest extends TestBase { /** * Tests the method {@code compare}. diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java index 18291cf..2575404 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/MiscellaneousTest.java @@ -43,7 +43,6 @@ import static org.junit.jupiter.api.Assertions.*; * Tests the class {@link Miscellaneous}. */ @DisplayName("Miscellaneous") -@SuppressWarnings({ "unused" }) public class MiscellaneousTest extends TestBase { /** * Used for testing the method {@code executeSafely}. @@ -171,6 +170,7 @@ public class MiscellaneousTest extends TestBase { * @param identifier identifier */ @EventListener(event = ThrowableCatchEvent.class) + @SuppressWarnings({ "unused" }) public static void onCaughtThrowable(@NotNull Throwable throwable, @NotNull String identifier) { getInstance().getLogger().diag("ThrowableCatchEvent received"); throwableCaught = true; diff --git a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java index b7bb0e6..d5ba240 100644 --- a/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java +++ b/base/src/test/java/de/staropensource/sosengine/base/srctests/utility/PlaceholderEngineTest.java @@ -36,7 +36,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; * Tests the class {@link PlaceholderEngine}. */ @DisplayName("PlaceholderEngine") -@SuppressWarnings({ "unused" }) class PlaceholderEngineTest extends TestBase { /** * Tests the method {@code process}. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystem.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystem.java index 5d4db97..144f543 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystem.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystem.java @@ -45,7 +45,7 @@ import static org.lwjgl.glfw.GLFW.*; * @since v1-alpha2 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class GlfwSubsystem extends SubsystemClass { /** * Contains the class instance. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystemConfiguration.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystemConfiguration.java index 58ce41c..0bbacec 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystemConfiguration.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/GlfwSubsystemConfiguration.java @@ -32,7 +32,7 @@ import org.jetbrains.annotations.Nullable; * @since v1-alpha2 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class GlfwSubsystemConfiguration extends Configuration { /** * Contains the class instance. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/KeyCallback.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/KeyCallback.java index 29a79f5..e2b2490 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/KeyCallback.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/KeyCallback.java @@ -34,7 +34,6 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class KeyCallback extends WindowCallback implements GLFWKeyCallbackI { /** * An {@link InputEvent} instance, to avoid creating too many objects diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/MouseButtonCallback.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/MouseButtonCallback.java index 378a5e0..5bda0f3 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/MouseButtonCallback.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/callbacks/MouseButtonCallback.java @@ -34,7 +34,6 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class MouseButtonCallback extends WindowCallback implements GLFWMouseButtonCallbackI { /** * An {@link InputEvent} instance, to avoid creating too many objects diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwInternalClass.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwInternalClass.java index 3239e15..2257e61 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwInternalClass.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwInternalClass.java @@ -38,7 +38,7 @@ import static org.lwjgl.glfw.GLFW.glfwGetMonitors; * @since v1-alpha2 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class GlfwInternalClass implements ApiInternalClass { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwMonitor.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwMonitor.java index 149360c..618089f 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwMonitor.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwMonitor.java @@ -35,7 +35,7 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class GlfwMonitor extends Monitor { /** * Contains the {@link #identifier} as a long. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwWindow.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwWindow.java index 759dc4f..94f7b9d 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwWindow.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/GlfwWindow.java @@ -51,7 +51,7 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class GlfwWindow extends Window { /** * Contains the {@link #identifier} used by GLFW. diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/WindowCallback.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/WindowCallback.java index 6a402ad..4112157 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/WindowCallback.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/classes/WindowCallback.java @@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull; * @since v1-alpha2 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class WindowCallback { /** * Refers to the {@link Window} instance diff --git a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/types/GlfwPlatform.java b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/types/GlfwPlatform.java index 4f60619..e1a819e 100644 --- a/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/types/GlfwPlatform.java +++ b/graphics/glfw/src/main/java/de/staropensource/sosengine/graphics/glfw/types/GlfwPlatform.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.graphics.glfw.types; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public enum GlfwPlatform { /** * Allows GLFW to autodetect the platform to use. diff --git a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlManagement.java b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlManagement.java index cd84ff0..063121d 100644 --- a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlManagement.java +++ b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlManagement.java @@ -26,7 +26,6 @@ import de.staropensource.sosengine.graphics.glfw.classes.GlfwManagementClass; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class OpenGlManagement extends GlfwManagementClass { /** * Constructs this class. diff --git a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java index f16d56a..43dc922 100644 --- a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java +++ b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/OpenGlSubsystem.java @@ -49,7 +49,7 @@ import static org.lwjgl.glfw.GLFW.*; * @since v1-alpha0 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class OpenGlSubsystem extends ApiClass { /** * Contains the class instance. @@ -184,6 +184,7 @@ public final class OpenGlSubsystem extends ApiClass { * @since v1-alpha0 */ @EventListener(event = GraphicsErrorEvent.class, priority = EventPriority.EXCLUSIVELY_IMPORTANT) + @SuppressWarnings({ "unused" }) public static void onGraphicsError(String error) { instance.logger.error("OpenGL returned an error: " + error); } @@ -195,6 +196,7 @@ public final class OpenGlSubsystem extends ApiClass { * @since v1-alpha0 */ @EventListener(event = GraphicsApiErrorEvent.class, priority = EventPriority.EXCLUSIVELY_IMPORTANT) + @SuppressWarnings({ "unused" }) public static void onGraphicsApiError(String error) { instance.logger.error("Graphics API returned an error: " + error); } diff --git a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/OpenGlWindow.java b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/OpenGlWindow.java index 157255c..d9a3579 100644 --- a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/OpenGlWindow.java +++ b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/OpenGlWindow.java @@ -36,7 +36,6 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class OpenGlWindow extends GlfwWindow { // ------------------------------------------------ [ Window initialization ] ------------------------------------------------ // /** diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java index d828dd0..99b76a4 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java @@ -49,7 +49,7 @@ import java.util.Map; * @since v1-alpha0 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class GraphicsSubsystem extends SubsystemClass { /** * Contains the class instance. @@ -154,6 +154,7 @@ public final class GraphicsSubsystem extends SubsystemClass { * @since v1-alpha0 */ @EventListener(event = InternalEngineShutdownEvent.class) + @SuppressWarnings({ "unused" }) protected static void shutdownSubsystem() { LoggerInstance logger = instance.logger; logger.verb("Shutting down"); diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java index 6f62a6a..d8aa7bf 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java @@ -33,7 +33,7 @@ import org.jetbrains.annotations.Nullable; * @since v1-alpha0 */ @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class GraphicsSubsystemConfiguration extends Configuration { /** * Contains the class instance. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Monitor.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Monitor.java index 9302a86..8471a7f 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Monitor.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Monitor.java @@ -40,7 +40,7 @@ import java.util.UUID; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class Monitor { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Window.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Window.java index 540a157..7a8dbab 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Window.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/Window.java @@ -46,7 +46,7 @@ import java.util.UUID; */ // TODO monitors @Getter -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class Window implements AutoCloseable { /** * A set of all active windows. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiClass.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiClass.java index d92820d..1f352ed 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiClass.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiClass.java @@ -30,7 +30,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public abstract class ApiClass extends SubsystemClass { /** * Constructs this class. @@ -100,5 +99,6 @@ public abstract class ApiClass extends SubsystemClass { * @since v1-alpha0 */ @EventListener(event = GraphicsErrorEvent.class) + @SuppressWarnings({ "unused" }) public static void onGraphicsError(String error) {} } diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiInternalClass.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiInternalClass.java index 995f703..4007b96 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiInternalClass.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiInternalClass.java @@ -31,7 +31,6 @@ import java.util.LinkedHashSet; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public interface ApiInternalClass { /** * Returns the {@link Window} class of the Graphics API. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiManagementClass.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiManagementClass.java index ff7c16f..54064fa 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiManagementClass.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/classes/api/ApiManagementClass.java @@ -38,7 +38,7 @@ import java.util.concurrent.atomic.AtomicReference; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public abstract class ApiManagementClass { /** * Contains the {@link LoggerInstance} for this instance. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiErrorEvent.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiErrorEvent.java index 20e58fe..3994f1c 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiErrorEvent.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiErrorEvent.java @@ -28,7 +28,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class GraphicsApiErrorEvent implements Event { /** * Constructs this class. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiShutdownEvent.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiShutdownEvent.java index a49addc..9cca4a9 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiShutdownEvent.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsApiShutdownEvent.java @@ -27,7 +27,6 @@ import de.staropensource.sosengine.base.classes.helpers.EventHelper; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class GraphicsApiShutdownEvent implements Event { /** * Constructs this class. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsErrorEvent.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsErrorEvent.java index 9ae1ffe..714a529 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsErrorEvent.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/GraphicsErrorEvent.java @@ -28,7 +28,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public final class GraphicsErrorEvent implements Event { /** * Constructs this class. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/InputEvent.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/InputEvent.java index 7b89dfb..e45e6f2 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/events/InputEvent.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/events/InputEvent.java @@ -34,7 +34,6 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class InputEvent implements Event { /** * Logger instance for this class. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/NoMonitorsFoundException.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/NoMonitorsFoundException.java index d838c98..06efd4c 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/NoMonitorsFoundException.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/NoMonitorsFoundException.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.graphics.exceptions; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class NoMonitorsFoundException extends RuntimeException { /** * Constructs this exception. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/WindowCreationFailureException.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/WindowCreationFailureException.java index a63a3be..fb58575 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/WindowCreationFailureException.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/exceptions/WindowCreationFailureException.java @@ -27,7 +27,6 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public final class WindowCreationFailureException extends RuntimeException { /** * Constructs this exception. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java index 1832676..808ffcf 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/input/Key.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.graphics.types.input; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused" }) public enum Key { /** * An unknown key. diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/VsyncMode.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/VsyncMode.java index 4e49c78..5b78266 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/VsyncMode.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/VsyncMode.java @@ -26,7 +26,6 @@ import de.staropensource.sosengine.graphics.GraphicsSubsystemConfiguration; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public enum VsyncMode { /** * Disables V-Sync. The frame rate will be uncapped and will allow diff --git a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/WindowMode.java b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/WindowMode.java index a6bff7b..62d9cd1 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/WindowMode.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/types/window/WindowMode.java @@ -24,7 +24,6 @@ package de.staropensource.sosengine.graphics.types.window; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused" }) public enum WindowMode { /** * Marks the window as hidden, making it invisible and unable to be interacted with. diff --git a/graphics/vulkan/src/main/java/de/staropensource/sosengine/graphics/vulkan/VulkanSubsystem.java b/graphics/vulkan/src/main/java/de/staropensource/sosengine/graphics/vulkan/VulkanSubsystem.java index 695a3bb..6949c69 100644 --- a/graphics/vulkan/src/main/java/de/staropensource/sosengine/graphics/vulkan/VulkanSubsystem.java +++ b/graphics/vulkan/src/main/java/de/staropensource/sosengine/graphics/vulkan/VulkanSubsystem.java @@ -41,7 +41,7 @@ import static org.lwjgl.glfw.GLFW.glfwTerminate; * @since v1-alpha0 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class VulkanSubsystem extends SubsystemClass { /** * Contains the class instance. diff --git a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLogger.java b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLogger.java index 7d159e7..86d3a6e 100644 --- a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLogger.java +++ b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLogger.java @@ -37,7 +37,6 @@ import org.slf4j.helpers.NormalizedParameters; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public class CompatibilityLogger extends LegacyAbstractLogger { /** * Logger instance, used to print all log messages coming from SLF4J. diff --git a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerFactory.java b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerFactory.java index 0007b46..8a7969d 100644 --- a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerFactory.java +++ b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerFactory.java @@ -31,7 +31,6 @@ import java.util.concurrent.ConcurrentMap; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) public class CompatibilityLoggerFactory implements ILoggerFactory { ConcurrentMap<@NotNull String, @NotNull Logger> loggerMap; diff --git a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerProvider.java b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerProvider.java index 4176793..b9ae94f 100644 --- a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerProvider.java +++ b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/CompatibilityLoggerProvider.java @@ -35,7 +35,6 @@ import org.slf4j.spi.SLF4JServiceProvider; * @since v1-alpha0 */ @Getter -@SuppressWarnings({ "unused" }) public class CompatibilityLoggerProvider implements SLF4JServiceProvider { /** * Contains a {@link CompatibilityLoggerFactory}. diff --git a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/Slf4jCompatSubsystem.java b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/Slf4jCompatSubsystem.java index bc9aa73..d062145 100644 --- a/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/Slf4jCompatSubsystem.java +++ b/slf4j-compat/src/main/java/de/staropensource/sosengine/slf4j_compat/Slf4jCompatSubsystem.java @@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory; * @since v1-alpha0 */ @EngineSubsystem -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public class Slf4jCompatSubsystem extends SubsystemClass { /** * Contains the class instance. diff --git a/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java b/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java index f32c5cb..4c328f2 100644 --- a/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java +++ b/testapp/src/main/java/de/staropensource/sosengine/testapp/Main.java @@ -50,7 +50,7 @@ import java.util.Set; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) +@SuppressWarnings({ "JavadocDeclaration" }) public final class Main { /** * Contains the class instance. @@ -240,6 +240,7 @@ public final class Main { * @since v1-alpha2 */ @EventListener(event = ThrowableCatchEvent.class) + @SuppressWarnings({ "unused" }) private static void onThrowable(@NotNull Throwable throwable, @NotNull String identifier) { if (identifier.equals("mainThread") && instance != null) instance.logger.crash("The main thread threw an exception", throwable); @@ -254,6 +255,7 @@ public final class Main { * @since v1-alpha2 */ @EventListener(event = InputEvent.class) + @SuppressWarnings({ "unused" }) private static void onInput(@Nullable Window window, @NotNull Key key, @NotNull KeyState state) { if (key == Key.ESCAPE && instance != null) { instance.logger.diag("ESC pressed, setting shutdown flag");