1
0

mark loggers for Avalon and Lumberjack as deprecated

This commit is contained in:
singingbush
2023-09-01 00:25:12 +01:00
parent a8cb6995dc
commit 01144cc86f
3 changed files with 8 additions and 0 deletions

View File

@@ -48,7 +48,10 @@ import org.apache.commons.logging.Log;
* commons-logging, but this never actually worked (a NullPointerException would * commons-logging, but this never actually worked (a NullPointerException would
* be thrown as soon as the deserialized object was used), so removing this marker * be thrown as soon as the deserialized object was used), so removing this marker
* is not considered to be an incompatible change. * is not considered to be an incompatible change.
*
* @deprecated Due to be removed as the Apache Avalon Project no longer exists
*/ */
@Deprecated
public class AvalonLogger implements Log { public class AvalonLogger implements Log {
/** Ancestral Avalon logger. */ /** Ancestral Avalon logger. */

View File

@@ -33,7 +33,9 @@ import org.apache.commons.logging.Log;
* available in SourceForge's Lumberjack for JDKs prior to 1.4. * available in SourceForge's Lumberjack for JDKs prior to 1.4.
* *
* @since 1.1 * @since 1.1
* @deprecated Due to be removed as Lumberjack is no longer maintained
*/ */
@Deprecated
public class Jdk13LumberjackLogger implements Log, Serializable { public class Jdk13LumberjackLogger implements Log, Serializable {
/** Serializable version identifier. */ /** Serializable version identifier. */

View File

@@ -30,7 +30,10 @@ import org.apache.commons.logging.Log;
* {@code LogKit} accepts only {@code String} messages. * {@code LogKit} accepts only {@code String} messages.
* Therefore, this implementation converts object messages into strings * Therefore, this implementation converts object messages into strings
* by called their {@code toString()} method before logging them. * by called their {@code toString()} method before logging them.
*
* @deprecated Due to be removed as the Apache Avalon Project no longer exists
*/ */
@Deprecated
public class LogKitLogger implements Log, Serializable { public class LogKitLogger implements Log, Serializable {
/** Serializable version identifier. */ /** Serializable version identifier. */