From e21ea102c72cc41fd0408c8c78aff906789b9550 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 5 Sep 2024 00:39:34 +0200 Subject: [PATCH] Fix Javadoc warnings --- .../sosengine/base/internal/type/QueuedLogMessage.java | 4 ++-- .../sosengine/base/logging/LoggingThread.java | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/type/QueuedLogMessage.java b/base/src/main/java/de/staropensource/sosengine/base/internal/type/QueuedLogMessage.java index b814d930..735f48a7 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/type/QueuedLogMessage.java +++ b/base/src/main/java/de/staropensource/sosengine/base/internal/type/QueuedLogMessage.java @@ -19,7 +19,7 @@ package de.staropensource.sosengine.base.internal.type; -import de.staropensource.sosengine.base.logging.Logger; +import de.staropensource.sosengine.base.logging.LoggingThread; import de.staropensource.sosengine.base.type.logging.LogLevel; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -32,7 +32,7 @@ import org.jetbrains.annotations.Nullable; * @param issuerOrigin Origin of the issuer. * @param issuerMetadata Metadata about the issuer. * @param message Message of the log call. - * @see Logger#startLoggingThread() + * @see LoggingThread#startLoggingThread() * @since v1-alpha1 */ @SuppressWarnings({ "unused" }) diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java index 0ed23b85..5509efe4 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java @@ -69,10 +69,17 @@ public class LoggingThread { /** * Contains a reference to the logging thread. * - * @since v1-alpha1 + * @since v1-alpha4 */ private static Thread loggingThread; + /** + * Constructs this class. + * + * @since v1-alpha4 + */ + public LoggingThread() {} + /** * Reconstructs the {@link #loggingThread} thread. *