From 9ff4f968148403e02941ec27de9fe63058db6064 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 19 Aug 2024 02:49:00 +0200 Subject: [PATCH] Remove many unused warning supressions Why did I add this to every single class file in the first place...? --- .../sosengine/ansi/AnsiLoggerImplementation.java | 1 - .../staropensource/sosengine/ansi/AnsiShortcodeConverter.java | 1 - .../java/de/staropensource/sosengine/ansi/AnsiSubsystem.java | 2 +- .../main/java/de/staropensource/sosengine/base/Engine.java | 2 +- .../de/staropensource/sosengine/base/EngineConfiguration.java | 2 +- .../sosengine/base/annotations/EngineSubsystem.java | 1 - .../sosengine/base/annotations/EventListener.java | 1 - .../staropensource/sosengine/base/classes/Configuration.java | 1 - .../java/de/staropensource/sosengine/base/classes/Event.java | 1 - .../sosengine/base/classes/LoggerImplementation.java | 1 - .../de/staropensource/sosengine/base/classes/Placeholder.java | 1 - .../sosengine/base/classes/ShortcodeParserSkeleton.java | 2 +- .../staropensource/sosengine/base/classes/SubsystemClass.java | 2 +- .../sosengine/base/classes/VersioningSystem.java | 1 - .../sosengine/base/classes/helpers/EventHelper.java | 1 - .../sosengine/base/data/information/EngineInformation.java | 4 +--- .../base/data/versioning/FourNumberVersioningSystem.java | 2 +- .../base/data/versioning/OneNumberVersioningSystem.java | 2 +- .../base/data/versioning/SemanticVersioningSystem.java | 2 +- .../base/data/versioning/StarOpenSourceVersioningSystem.java | 2 +- .../base/data/versioning/ThreeNumberVersioningSystem.java | 2 +- .../base/data/versioning/TwoNumberVersioningSystem.java | 2 +- .../sosengine/base/events/EngineCrashEvent.java | 1 - .../sosengine/base/events/EngineSoftCrashEvent.java | 1 - .../de/staropensource/sosengine/base/events/LogEvent.java | 1 - .../sosengine/base/exceptions/NoAccessException.java | 1 - .../base/exceptions/UnexpectedThrowableException.java | 2 +- .../base/exceptions/dependency/DependencyCycleException.java | 1 - .../exceptions/dependency/UnmetDependenciesException.java | 2 +- .../base/exceptions/reflection/IncompatibleTypeException.java | 1 - .../base/exceptions/reflection/InvalidFieldException.java | 1 - .../base/exceptions/reflection/InvalidMethodException.java | 1 - .../base/exceptions/reflection/InvalidMethodSignature.java | 1 - .../base/exceptions/reflection/NoAccessException.java | 1 - .../exceptions/reflection/StaticInitializerException.java | 2 +- .../versioning/IncompatibleVersioningSystemException.java | 1 - .../exceptions/versioning/InvalidVersionStringException.java | 2 +- .../base/internal/reflection/ReflectionAccessWidener.java | 1 - .../base/internal/types/DependencySubsystemVector.java | 2 +- .../staropensource/sosengine/base/logging/CrashHandler.java | 2 +- .../java/de/staropensource/sosengine/base/logging/Logger.java | 2 +- .../staropensource/sosengine/base/logging/LoggerInstance.java | 2 +- .../logging/implementation/PlainLoggerImplementation.java | 1 - .../base/logging/implementation/RawLoggerImplementation.java | 1 - .../sosengine/base/reflection/ClasspathAccess.java | 1 - .../de/staropensource/sosengine/base/reflection/Reflect.java | 1 - .../staropensource/sosengine/base/types/DependencyVector.java | 2 +- .../de/staropensource/sosengine/base/types/EngineState.java | 1 - .../de/staropensource/sosengine/base/types/EventPriority.java | 2 +- .../java/de/staropensource/sosengine/base/types/Tristate.java | 1 - .../staropensource/sosengine/base/types/logging/LogLevel.java | 1 - .../staropensource/sosengine/base/types/logging/LogRule.java | 2 +- .../sosengine/base/types/logging/LogRuleType.java | 1 - .../sosengine/base/types/reflection/ClassType.java | 1 - .../sosengine/base/types/reflection/VisibilityModifier.java | 1 - .../de/staropensource/sosengine/base/types/vectors/Vec2d.java | 2 +- .../de/staropensource/sosengine/base/types/vectors/Vec2f.java | 2 +- .../de/staropensource/sosengine/base/types/vectors/Vec2i.java | 2 +- .../de/staropensource/sosengine/base/types/vectors/Vec3d.java | 2 +- .../de/staropensource/sosengine/base/types/vectors/Vec3f.java | 2 +- .../de/staropensource/sosengine/base/types/vectors/Vec3i.java | 2 +- .../staropensource/sosengine/base/utility/ListFormatter.java | 1 - .../java/de/staropensource/sosengine/base/utility/Math.java | 2 +- .../sosengine/base/utility/PlaceholderEngine.java | 2 +- .../sosengine/base/utility/PropertiesReader.java | 2 +- .../base/utility/converter/EmptyShortcodeConverter.java | 1 - .../sosengine/base/utility/parser/StackTraceParser.java | 1 - .../de/staropensource/sosengine/unittests/UnitLogger.java | 1 - .../sosengine/base/srctests/EngineConfigurationTest.java | 1 - .../de/staropensource/sosengine/base/srctests/TestBase.java | 1 - .../data/versioning/FourNumberVersioningSystemTest.java | 1 - .../data/versioning/OneNumberVersioningSystemTest.java | 1 - .../data/versioning/SemanticVersioningSystemTest.java | 1 - .../data/versioning/StarOpenSourceVersioningSystemTest.java | 1 - .../data/versioning/ThreeNumberVersioningSystemTest.java | 1 - .../data/versioning/TwoNumberVersioningSystemTest.java | 1 - .../sosengine/base/srctests/utility/MiscellaneousTest.java | 2 +- .../base/srctests/utility/PlaceholderEngineTest.java | 1 - .../staropensource/sosengine/graphics/glfw/GlfwSubsystem.java | 2 +- .../sosengine/graphics/glfw/GlfwSubsystemConfiguration.java | 2 +- .../sosengine/graphics/glfw/callbacks/KeyCallback.java | 1 - .../graphics/glfw/callbacks/MouseButtonCallback.java | 1 - .../sosengine/graphics/glfw/classes/GlfwInternalClass.java | 2 +- .../sosengine/graphics/glfw/classes/GlfwMonitor.java | 2 +- .../sosengine/graphics/glfw/classes/GlfwWindow.java | 2 +- .../sosengine/graphics/glfw/classes/WindowCallback.java | 2 +- .../sosengine/graphics/glfw/types/GlfwPlatform.java | 1 - .../sosengine/graphics/opengl/OpenGlManagement.java | 1 - .../sosengine/graphics/opengl/OpenGlSubsystem.java | 4 +++- .../sosengine/graphics/opengl/classes/OpenGlWindow.java | 1 - .../staropensource/sosengine/graphics/GraphicsSubsystem.java | 3 ++- .../sosengine/graphics/GraphicsSubsystemConfiguration.java | 2 +- .../de/staropensource/sosengine/graphics/classes/Monitor.java | 2 +- .../de/staropensource/sosengine/graphics/classes/Window.java | 2 +- .../sosengine/graphics/classes/api/ApiClass.java | 2 +- .../sosengine/graphics/classes/api/ApiInternalClass.java | 1 - .../sosengine/graphics/classes/api/ApiManagementClass.java | 2 +- .../sosengine/graphics/events/GraphicsApiErrorEvent.java | 1 - .../sosengine/graphics/events/GraphicsApiShutdownEvent.java | 1 - .../sosengine/graphics/events/GraphicsErrorEvent.java | 1 - .../staropensource/sosengine/graphics/events/InputEvent.java | 1 - .../graphics/exceptions/NoMonitorsFoundException.java | 1 - .../graphics/exceptions/WindowCreationFailureException.java | 1 - .../de/staropensource/sosengine/graphics/types/input/Key.java | 1 - .../sosengine/graphics/types/window/VsyncMode.java | 1 - .../sosengine/graphics/types/window/WindowMode.java | 1 - .../sosengine/graphics/vulkan/VulkanSubsystem.java | 2 +- .../sosengine/slf4j_compat/CompatibilityLogger.java | 1 - .../sosengine/slf4j_compat/CompatibilityLoggerFactory.java | 1 - .../sosengine/slf4j_compat/CompatibilityLoggerProvider.java | 1 - .../sosengine/slf4j_compat/Slf4jCompatSubsystem.java | 2 +- .../main/java/de/staropensource/sosengine/testapp/Main.java | 4 +++- 112 files changed, 54 insertions(+), 114 deletions(-) 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 830e6ac8..23fc467e 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 8977aabe..e28fc5a0 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 7db5830a..e88bd46b 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 4b3eaa5e..27c6daed 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 73645548..41667396 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 ea6ef8a5..e970f273 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 9a367d72..8bdff3ce 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 5137bf13..0aa8cb47 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 dc888437..79c9d17f 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 38b97021..02e57467 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 c568fdcb..b96860eb 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 119fc92a..512ab1b9 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 e26a249c..205ddc1e 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 0fd8002c..ab02e393 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 6fbd09a2..72825821 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 ed2f1f48..74e7522d 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 46f3adf2..b978c019 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 5c9adf2a..56f9736d 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 2db15d64..93b4a24e 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 5ea4c245..dda30bdf 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 23492f3a..25aed845 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 adcca502..0e322406 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 82b023e8..32ab3faf 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 974dc663..1b504c9a 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 a6653292..b0026b3b 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 8af0b8be..4a7fd775 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 79d1ac69..9cd222db 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 cf97541f..20dc52ca 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 545cbf35..c654eff3 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 137c9427..d83c352a 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 ac6c4fbc..62685982 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 e30620be..18a96045 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 c2fd56ff..ce430495 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 8e996487..7d2e369e 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 524f14bd..72d5d41f 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 e2fbe31a..3604608e 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 1a9fcca0..ae1ca289 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 7caf5ddb..0d25cef0 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 d4012855..8ef08af8 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 5f1c6b7b..c4f5f9f1 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 a3075e1b..6ff0d1d8 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 36b4c3c2..7314e916 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 3c804bb8..609ba1d2 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 3807bc3a..a7752d36 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 4b9b126d..136631e8 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 53329114..1cb24ffd 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 61dc5d5e..57794335 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 034c7941..5f67152f 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 2fc56002..2fae1efe 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 a8ecde4c..54d24e37 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 b067bea1..798b7121 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 d0515ac5..00d39b5a 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 06c0e175..ae1203e2 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 f29879c4..6280d790 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 411346bb..c8b6a698 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 052b808e..528ac89e 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 8989bf8b..51f893a7 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 4c3258bc..a9cba233 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 5d623965..fab1d9a2 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 d2d44a6c..dca182f5 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 7bb6980d..82487c17 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 51e66254..44da6624 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 d27d636a..54c9978a 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 9f4d47de..7afaa111 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 a671ea40..acd84d52 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 9f713e56..06bf841a 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 d1e7953a..406b78d0 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 a555c429..0871c754 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 d74dbb21..8b865712 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 be33db1d..74e4dca8 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 2a56f551..15ad3b70 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 6430e705..d680d512 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 bc40cb06..dd99fe21 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 923d3e6d..37c756f7 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 1d3568da..91ecf6d8 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 537e629f..022b6038 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 18291cfc..2575404f 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 b7bb0e6b..d5ba240f 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 5d4db974..144f5433 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 58ce41ce..0bbacecd 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 29a79f5b..e2b2490a 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 378a5e02..5bda0f33 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 3239e154..2257e613 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 149360cd..618089f4 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 759dc4fc..94f7b9da 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 6a402adb..4112157d 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 4f606193..e1a819ed 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 cd84ff08..063121dd 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 f16d56ad..43dc922e 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 157255ce..d9a35793 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 d828dd09..99b76a4c 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 6f62a6ad..d8aa7bf0 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 9302a866..8471a7fd 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 540a157b..7a8dbabf 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 d92820da..1f352ed5 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 995f703e..4007b966 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 ff7c16fe..54064fa3 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 20e58fef..3994f1c5 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 a49addce..9cca4a92 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 9ae1ffe6..714a5291 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 7b89dfb2..e45e6f25 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 d838c985..06efd4c5 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 a63a3bee..fb58575a 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 1832676b..808ffcfc 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 4e49c78c..5b78266a 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 a6bff7b0..62d9cd1c 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 695a3bbd..6949c696 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 7d159e76..86d3a6e9 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 0007b462..8a7969d0 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 41767935..b9ae94f5 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 bc9aa736..d062145b 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 f32c5cb4..4c328f24 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");