ceki 2004/08/09 07:29:33
Modified: src/java/org/apache/log4j Category.java
Log:
Javadoc fixes
Revision Changes Path
1.87 +4 -3 logging-log4j/src/java/org/apache/log4j/Category.java
Index: Category.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/Category.java,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- Category.java 5 Aug 2004 19:25:51 -0000 1.86
+++ Category.java 9 Aug 2004 14:29:32 -0000 1.87
@@ -598,10 +598,11 @@
* named category already exists, then the existing instance will be
* reutrned. Otherwise, a new instance is created. By default, categories
* do not have a set level but inherit it from the hierarchy. This is one
- * of the central features of log4j. <b>Deprecated</b> Please use [EMAIL
PROTECTED]
- * Logger#getLogger(String)} instead.
+ * of the central features of log4j.
*
* @param name The name of the category to retrieve.
+ * @deprecated Please use the [EMAIL PROTECTED] LogManager#getLogger(String)}
method
+ * instead.
*/
public static Category getInstance(String name) {
return LogManager.getLogger(name);
@@ -613,7 +614,7 @@
* @param clazz The name of <code>clazz</code> will be used as the name of
* the category to retrieve. See [EMAIL PROTECTED] #getInstance(String)}
for
* more detailed information.
- * @deprecated Please use [EMAIL PROTECTED] Logger#getLogger(Class)} instead.
+ * @deprecated Please use [EMAIL PROTECTED] LogManager#getLogger(Class)} instead.
* @since 1.0
*/
public static Category getInstance(Class clazz) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]