[Arakhnę-Dev] [127] Remove deprecated functions.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 127
Author:   galland
Date:     2010-02-12 22:43:41 +0100 (Fri, 12 Feb 2010)
Log Message:
-----------
Remove deprecated functions.

Modified Paths:
--------------
    trunk/arakhneLogger/src/main/java/org/arakhne/logging/AbstractLogger.java
    trunk/arakhneLogger/src/main/java/org/arakhne/logging/Logger.java

Modified: trunk/arakhneLogger/src/main/java/org/arakhne/logging/AbstractLogger.java
===================================================================
--- trunk/arakhneLogger/src/main/java/org/arakhne/logging/AbstractLogger.java	2010-02-12 21:32:51 UTC (rev 126)
+++ trunk/arakhneLogger/src/main/java/org/arakhne/logging/AbstractLogger.java	2010-02-12 21:43:41 UTC (rev 127)
@@ -67,90 +67,7 @@
 	}
 
 	/** {@InheritDoc}
-	 * 
-	 * @param arg0 {@InheritDoc}
-	 * @param arg1 {@InheritDoc}
 	 */
-	@Deprecated
-	public final void debug(String arg0, Throwable arg1) {
-		log(this,LogLevel.DEBUG,arg0,arg1);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void debug(String arg0) {
-		log(LogLevel.DEBUG,arg0);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void error(String arg0, Throwable arg1) {
-		log(this,LogLevel.ERROR,arg0,arg1);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void error(String arg0) {
-		log(this,LogLevel.ERROR,arg0);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void info(String arg0, Throwable arg1) {
-		log(this,LogLevel.INFO,arg0,arg1);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void info(String arg0) {
-		log(this,LogLevel.INFO,arg0);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void warn(String arg0, Throwable arg1) {
-		log(this,LogLevel.WARNING,arg0,arg1);
-	}
-
-	/** 
-	 * {@inheritDoc}
-	 */
-	@Deprecated
-	public final void warn(String arg0) {
-		log(this,LogLevel.WARNING,arg0);
-	}
-
-	/** {@InheritDoc}
-	 * 
-	 * @param level {@InheritDoc}
-	 * @param msg {@InheritDoc}
-	 */
-	@Deprecated
-	public final void log(LogLevel level, String msg) {
-		log(this, level, msg, null);
-	}
-
-	/** {@InheritDoc}
-	 */
-	@Deprecated
-	public final void log(LogLevel level, String msg, Throwable exception) {
-		log(this,level,msg,exception);
-	}
-
-	/** {@InheritDoc}
-	 */
 	public final void debug(Object source, String arg0, Throwable arg1) {
 		log(source,LogLevel.DEBUG,arg0,arg1);
 	}

Modified: trunk/arakhneLogger/src/main/java/org/arakhne/logging/Logger.java
===================================================================
--- trunk/arakhneLogger/src/main/java/org/arakhne/logging/Logger.java	2010-02-12 21:32:51 UTC (rev 126)
+++ trunk/arakhneLogger/src/main/java/org/arakhne/logging/Logger.java	2010-02-12 21:43:41 UTC (rev 127)
@@ -51,16 +51,6 @@
 	/**
 	 * Log the specified message at the specified level
 	 * 
-	 * @param level - the log level
-	 * @param msg - the message to log
-	 * @deprecated see {@link #log(Object, LogLevel, String)}
-	 */
-	@Deprecated
-	public void log(LogLevel level, String msg);
-
-	/**
-	 * Log the specified message at the specified level
-	 * 
 	 * @param source - the object which send this log
 	 * @param level - the log level
 	 * @param msg - the message to log
@@ -71,17 +61,6 @@
 	/**
 	 * Log the specified message at the specified level
 	 * 
-	 * @param level - the log level
-	 * @param msg - the message to log
-	 * @param exception - the exception cause of the log message
-	 * @deprecated see {@link #log(Object, LogLevel, String, Throwable)}
-	 */
-	@Deprecated
-	public void log(LogLevel level, String msg, Throwable exception);
-
-	/**
-	 * Log the specified message at the specified level
-	 * 
 	 * @param source - the object which send this log
 	 * @param level - the log level
 	 * @param msg - the message to log
@@ -93,15 +72,6 @@
 	/**
 	 * Log a message at the DEBUG level.
 	 *
-	 * @param msg the message string to be logged
-	 * @deprecated see {@link #debug(Object, String)}
-	 */
-	@Deprecated
-	public void debug(String msg);
-
-	/**
-	 * Log a message at the DEBUG level.
-	 *
 	 * @param source - the object which send this log
 	 * @param msg the message string to be logged
 	 * @since 1.2
@@ -112,17 +82,6 @@
 	 * Log an exception (throwable) at the DEBUG level with an
 	 * accompanying message. 
 	 * 
-	 * @param msg the message accompanying the exception
-	 * @param t the exception (throwable) to log
-	 * @deprecated see {@link #debug(Object, String, Throwable)}
-	 */ 
-	@Deprecated
-	public void debug(String msg, Throwable t);
-
-	/**
-	 * Log an exception (throwable) at the DEBUG level with an
-	 * accompanying message. 
-	 * 
 	 * @param source - the object which send this log
 	 * @param msg the message accompanying the exception
 	 * @param t the exception (throwable) to log
@@ -142,15 +101,6 @@
 	/**
 	 * Log a message at the INFO level.
 	 *
-	 * @param msg the message string to be logged
-	 * @deprecated see {@link #info(Object, String)}
-	 */
-	@Deprecated
-	public void info(String msg);
-
-	/**
-	 * Log a message at the INFO level.
-	 *
 	 * @param source - the object which send this log
 	 * @param msg the message string to be logged
 	 * @since 1.2
@@ -161,17 +111,6 @@
 	 * Log an exception (throwable) at the INFO level with an
 	 * accompanying message. 
 	 * 
-	 * @param msg the message accompanying the exception
-	 * @param t the exception (throwable) to log 
-	 * @deprecated see {@link #info(Object, String, Throwable)}
-	 */
-	@Deprecated
-	public void info(String msg, Throwable t);
-
-	/**
-	 * Log an exception (throwable) at the INFO level with an
-	 * accompanying message. 
-	 * 
 	 * @param source - the object which send this log
 	 * @param msg the message accompanying the exception
 	 * @param t the exception (throwable) to log
@@ -190,15 +129,6 @@
 	/**
 	 * Log a message at the WARN level.
 	 *
-	 * @param msg the message string to be logged
-	 * @deprecated see {@link #warn(Object, String)}
-	 */
-	@Deprecated
-	public void warn(String msg);
-
-	/**
-	 * Log a message at the WARN level.
-	 *
 	 * @param source - the object which send this log
 	 * @param msg the message string to be logged
 	 * @since 1.2
@@ -209,17 +139,6 @@
 	 * Log an exception (throwable) at the WARN level with an
 	 * accompanying message. 
 	 * 
-	 * @param msg the message accompanying the exception
-	 * @param t the exception (throwable) to log 
-	 * @deprecated see {@link #warn(Object, String, Throwable)}
-	 */
-	@Deprecated
-	public void warn(String msg, Throwable t);
-
-	/**
-	 * Log an exception (throwable) at the WARN level with an
-	 * accompanying message. 
-	 * 
 	 * @param source - the object which send this log
 	 * @param msg the message accompanying the exception
 	 * @param t the exception (throwable) to log
@@ -238,15 +157,6 @@
 	/**
 	 * Log a message at the ERROR level.
 	 *
-	 * @param msg the message string to be logged
-	 * @deprecated see {@link #error(Object, String)}
-	 */
-	@Deprecated
-	public void error(String msg);
-
-	/**
-	 * Log a message at the ERROR level.
-	 *
 	 * @param source - the object which send this log
 	 * @param msg the message string to be logged
 	 * @since 1.2
@@ -257,17 +167,6 @@
 	 * Log an exception (throwable) at the ERROR level with an
 	 * accompanying message. 
 	 * 
-	 * @param msg the message accompanying the exception
-	 * @param t the exception (throwable) to log
-	 * @deprecated see {@link #error(Object, String, Throwable)}
-	 */
-	@Deprecated
-	public void error(String msg, Throwable t);
-	
-	/**
-	 * Log an exception (throwable) at the ERROR level with an
-	 * accompanying message. 
-	 * 
 	 * @param source - the object which send this log
 	 * @param msg the message accompanying the exception
 	 * @param t the exception (throwable) to log


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/