ceki 2004/10/29 04:53:11 Modified: src/java/org/apache/log4j Category.java Log: Javadoc changes only. Revision Changes Path 1.91 +3 -28 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.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- Category.java 29 Oct 2004 11:40:48 -0000 1.90 +++ Category.java 29 Oct 2004 11:53:11 -0000 1.91 @@ -594,28 +594,14 @@ } /** - * Retrieve a category with named as the <code>name</code> parameter. If the - * 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. - * - * @param name The name of the category to retrieve. - * @deprecated Please use the [EMAIL PROTECTED] LogManager#getLogger(String)} method - * instead. + * @deprecated Please use the [EMAIL PROTECTED] Logger#getLogger(String)} method instead. */ public static Category getInstance(String name) { return LogManager.getLogger(name); } /** - * Shorthand for <code>getInstance(clazz.getName())</code>. - * - * @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] LogManager#getLogger(Class)} instead. - * @since 1.0 + * @deprecated Please use [EMAIL PROTECTED] Logger#getLogger(Class)} instead. */ public static Category getInstance(Class clazz) { return LogManager.getLogger(clazz); @@ -659,18 +645,7 @@ } /** - * Return the root of the default category hierrachy. - * - * <p> - * The root category is always instantiated and available. It's name is - * "root". - * </p> - * - * <p> - * Nevertheless, calling [EMAIL PROTECTED] #getInstance Category.getInstance("root")} - * does not retrieve the root category but a category just under root named - * "root". - * @deprecated Use [EMAIL PROTECTED] Logger#getRootLogger()} instead. + * @deprecated Please use the [EMAIL PROTECTED] Logger#getRootLogger()} method instead. * </p> */ public static final Category getRoot() {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]