diff --git a/ansi/build.gradle b/ansi/build.gradle index 2086aa0..a32975e 100644 --- a/ansi/build.gradle +++ b/ansi/build.gradle @@ -16,8 +16,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ - -import java.nio.file.Files // Plugins plugins { id("java") 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 2881b34..830e6ac 100644 --- a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java +++ b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiLoggerImplementation.java @@ -57,8 +57,8 @@ public class AnsiLoggerImplementation implements LoggerImplementation { } /** {@inheritDoc} */ - @SuppressWarnings({ "resource" }) // Using try-with-resources will cause issues here @Override + @SuppressWarnings({ "resource" }) // Using try-with-resources will cause issues here public void print(@NotNull LogLevel level, @NotNull Class issuerClass, @NotNull String issuerOrigin, @Nullable String issuerMetadata, @NotNull String message, @NotNull String format) { // Convert to Ansi Ansi output = new AnsiShortcodeConverter(format, true).getAnsi(); 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 075083b..1b31e32 100644 --- a/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java +++ b/ansi/src/main/java/de/staropensource/sosengine/ansi/AnsiSubsystem.java @@ -33,8 +33,8 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "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 ecf2cf7..d2d222d 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/Engine.java +++ b/base/src/main/java/de/staropensource/sosengine/base/Engine.java @@ -52,8 +52,8 @@ import java.util.*; * @see EngineConfiguration * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class Engine extends SubsystemClass { /** * Contains the class instance. @@ -175,7 +175,7 @@ public final class Engine extends SubsystemClass { * @see CrashHandler#getCrashContent() * @since v1-alpha0 */ - @SuppressWarnings("ExtractMethodRecommender") + @SuppressWarnings({ "ExtractMethodRecommender" }) private void populateCrashContent() { // Issuer Map<@NotNull String, @NotNull String> crashContentIssuer = new LinkedHashMap<>(); 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 9bbab24..fcde538 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java +++ b/base/src/main/java/de/staropensource/sosengine/base/EngineConfiguration.java @@ -48,8 +48,8 @@ import java.util.Properties; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 0b36bf7..ea6ef8a 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 @@ -30,8 +30,8 @@ import java.lang.annotation.*; * @see SubsystemClass * @since v1-alpha1 */ -@SuppressWarnings("unused") @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 ff9eca1..9a367d7 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 @@ -31,10 +31,10 @@ import java.lang.annotation.*; * * @since v1-alpha0 */ -@SuppressWarnings("unused") @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/data/versioning/FourNumberVersioningSystem.java b/base/src/main/java/de/staropensource/sosengine/base/data/versioning/FourNumberVersioningSystem.java index 93a5689..46f3adf 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 @@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 3b93508..5c9adf2 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 @@ -31,8 +31,8 @@ import org.jetbrains.annotations.Range; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 20bdae7..2db15d6 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 @@ -39,8 +39,8 @@ import java.util.List; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 3cfe62b..5ea4c24 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 @@ -40,8 +40,8 @@ import java.util.Locale; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 52fe0a0..23492f3 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 @@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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 bfbea27..adcca50 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 @@ -32,8 +32,8 @@ import org.jetbrains.annotations.Range; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class TwoNumberVersioningSystem implements VersioningSystem { /** * Contains the first number vector. 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 aa9228a..79d1ac6 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 @@ -27,8 +27,8 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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/UnmetDependenciesException.java b/base/src/main/java/de/staropensource/sosengine/base/exceptions/dependency/UnmetDependenciesException.java index 95f10aa..545cbf3 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 @@ -32,8 +32,8 @@ import java.util.Map; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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/internal/types/DependencySubsystemVector.java b/base/src/main/java/de/staropensource/sosengine/base/internal/types/DependencySubsystemVector.java index b287537..0f6032a 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 @@ -34,8 +34,8 @@ import java.util.List; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class DependencySubsystemVector extends DependencyVector { /** * Contains the associated {@link SubsystemClass}. 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 ec58257..60ba727 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 @@ -28,8 +28,8 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class LoggerInstance { /** * Contains the {@link Class} of the issuer. diff --git a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionField.java b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionField.java index 6ff69d8..4bbacf6 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionField.java +++ b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionField.java @@ -37,8 +37,8 @@ import java.lang.reflect.Modifier; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class ReflectionField { /** diff --git a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java index b38f1f8..8ac1782 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java +++ b/base/src/main/java/de/staropensource/sosengine/base/reflection/ReflectionMethod.java @@ -42,8 +42,8 @@ import java.lang.reflect.Modifier; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class ReflectionMethod { /** * Contains a reference to the parent 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 c46d6ba..1ee2e5a 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 @@ -32,8 +32,8 @@ import java.util.List; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public class DependencyVector { /** * Contains the identifier of this vector. 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 52bf48d..d0515ac 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 @@ -28,8 +28,8 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha1 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "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/vectors/Vec2d.java b/base/src/main/java/de/staropensource/sosengine/base/types/vectors/Vec2d.java index a164701..052b808 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "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 5c14b00..8989bf8 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "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 5ba66c9..4c3258b 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "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 7b6cd9b..5d62396 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "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 0209c59..d2d44a6 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "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 c5475c1..7bb6980 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 @@ -30,9 +30,9 @@ import org.jetbrains.annotations.NotNull; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter @Setter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public class Vec3i { /** * The X axis value. 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 aece2f7..9f4d47d 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 @@ -69,8 +69,8 @@ public final class PlaceholderEngine { * @return list of all global placeholders * @since v1-alpha0 */ - @SuppressWarnings("FieldMayBeFinal") @Getter + @SuppressWarnings("FieldMayBeFinal") private @NotNull List<@NotNull Placeholder> placeholders = new ArrayList<>(); /** diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/parser/PropertyParser.java b/base/src/main/java/de/staropensource/sosengine/base/utility/parser/PropertyParser.java index fa15585..01a7d02 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/parser/PropertyParser.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/parser/PropertyParser.java @@ -33,7 +33,6 @@ import java.util.Properties; * @since v1-alpha0 */ @SuppressWarnings({ "unused", "JavadocDeclaration" }) -@NotNull public final class PropertyParser { /** * Contains an instance providing access to the system properties. 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 345b6b6..d1e7953 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 @@ -30,8 +30,8 @@ import org.jetbrains.annotations.NotNull; * @see Throwable * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) // 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/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/EngineConfigurationTest.java index 96a284a..9ca639f 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 @@ -34,8 +34,8 @@ import static org.junit.jupiter.api.Assertions.*; /** * Tests the class {@link EngineConfiguration}. */ -@SuppressWarnings("unused") @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/data/versioning/FourNumberVersioningSystemTest.java b/base/src/test/java/de/staropensource/sosengine/base/srctests/data/versioning/FourNumberVersioningSystemTest.java index 9d12832..3eb994b 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 @@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link FourNumberVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 7759b43..1642726 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 @@ -33,8 +33,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link TwoNumberVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 fce5711..e1e90c6 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 @@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link SemanticVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 7912f73..3d4c07e 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 @@ -33,8 +33,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link SemanticVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 a80fb1e..33ac037 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 @@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link ThreeNumberVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 ff0d774..bdeafe7 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 @@ -32,8 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail; /** * Tests the class {@link TwoNumberVersioningSystem}. */ -@SuppressWarnings({ "unused" }) @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 a6c9d28..6cf9913 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 @@ -42,8 +42,8 @@ import static org.junit.jupiter.api.Assertions.*; /** * Tests the class {@link Miscellaneous}. */ -@SuppressWarnings("unused") @DisplayName("Miscellaneous") +@SuppressWarnings({ "unused" }) public class MiscellaneousTest extends TestBase { /** * Used for testing the method {@code executeSafely}. 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 2fe7dfd..0c83360 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 @@ -35,8 +35,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals; /** * Tests the class {@link PlaceholderEngine}. */ -@SuppressWarnings("unused") @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 48b11e2..7eef63b 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 @@ -43,8 +43,8 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "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 9ef8d5e..ad6ae83 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 @@ -31,8 +31,8 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha2 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class GlfwSubsystemConfiguration extends Configuration { /** * Contains the class instance. 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 24602ee..a810d25 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 @@ -46,8 +46,8 @@ import static org.lwjgl.glfw.GLFW.*; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class OpenGlSubsystem extends ApiClass { /** * Contains the class instance. 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 2c86d34..3ff57ee 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystem.java @@ -48,8 +48,8 @@ import java.util.Map; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class GraphicsSubsystem extends SubsystemClass { /** * Contains the class instance. 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 cb8b8c9..9ffd128 100644 --- a/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java +++ b/graphics/src/main/java/de/staropensource/sosengine/graphics/GraphicsSubsystemConfiguration.java @@ -32,8 +32,8 @@ import org.jetbrains.annotations.Nullable; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @Getter +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public final class GraphicsSubsystemConfiguration extends Configuration { /** * Contains the class instance. 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 712a7c8..9edf789 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 @@ -37,8 +37,8 @@ import static org.lwjgl.glfw.GLFW.glfwTerminate; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "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 ebec376..7d159e7 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 @@ -146,7 +146,6 @@ public class CompatibilityLogger extends LegacyAbstractLogger { * @see #forwardLogCall(Level, String, Object[], Throwable) * @since v1-alpha0 */ - @SuppressWarnings("unused") public void log(@NotNull LoggingEvent event) { NormalizedParameters np = NormalizedParameters.normalize(event); forwardLogCall(event.getLevel(), np.getMessage(), np.getArguments(), event.getThrowable()); 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 20bc7cb..4176793 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 @@ -34,8 +34,8 @@ import org.slf4j.spi.SLF4JServiceProvider; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused" }) @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 dfc400a..cd0a308 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 @@ -40,8 +40,8 @@ import org.slf4j.LoggerFactory; * * @since v1-alpha0 */ -@SuppressWarnings({ "unused", "JavadocDeclaration" }) @EngineSubsystem +@SuppressWarnings({ "unused", "JavadocDeclaration" }) public class Slf4jCompatSubsystem extends SubsystemClass { /** * Contains the class instance.