donaldp 2003/02/28 23:28:13 Modified: src/java/org/apache/log Hierarchy.java Log: Stupid is what stupid does Revision Changes Path 1.31 +6 -4 avalon-logkit/src/java/org/apache/log/Hierarchy.java Index: Hierarchy.java =================================================================== RCS file: /home/cvs/avalon-logkit/src/java/org/apache/log/Hierarchy.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- Hierarchy.java 28 Feb 2003 22:52:53 -0000 1.30 +++ Hierarchy.java 1 Mar 2003 07:28:13 -0000 1.31 @@ -196,13 +196,14 @@ /** * Set the LoggerListener associated with hierarchy. This is a - * unicast listener, so only one LoggerListener is allowed. + * unicast listener, so only one LoggerListener is allowed. Note that + * multiple listeners are not supported so an alternative is to use + * setLoggerListener(null) * * @param loggerListener the LoggerListener * * @throws UnsupportedOperationException if no more LoggerListeners are * permitted. - * @deprecated Deprecated and replaced by setLoggerListener(loggerListener) */ public synchronized void addLoggerListener( final LoggerListener loggerListener ) { @@ -223,10 +224,11 @@ /** * Remove the LoggerListener associated with hierarchy. Perform this - * step before adding a new one if you want to change it. + * step before adding a new one if you want to change it. Note that + * multiple listeners are not supported so an alternative is to use + * setLoggerListener(null) * * @param loggerListener the LoggerListener - * @deprecated Deprecated and replaced by setLoggerListener(null) */ public synchronized void removeLoggerListener( final LoggerListener loggerListener ) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]