avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@realityforge.org>
Subject Re: Hierarchy.java
Date Sat, 01 Mar 2003 05:03:33 GMT
On Sat, 1 Mar 2003 15:27, Stephen McConnell wrote:
> Stephen McConnell wrote:
> > Peter:
> >
> > There was discussion on the subject of log listener related methods
> > prior to the release of logkit during which it was my understanding
> > that the add/remove listener was the preferred approach over a set
> > approach. 

Not preferred by me. Mind numbingly stupid I thought but that is to be 
expected when the people who are "designing" the functionality don't even 
know what the use case is.

>
> Pete:
>
> Still waiting in anticipation for your reply.
>
> Steve.
>
> >> donaldp     2003/02/28 14:52:53
> >>
> >>  Modified:    src/java/org/apache/log Hierarchy.java
> >>  Log:
> >>  Deprecate insanity
> >>
> >>  Revision  Changes    Path
> >>  1.30      +2 -0
> >> 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.29
> >>  retrieving revision 1.30
> >>  diff -u -r1.29 -r1.30
> >>  --- Hierarchy.java    26 Feb 2003 08:14:39 -0000    1.29
> >>  +++ Hierarchy.java    28 Feb 2003 22:52:53 -0000    1.30
> >>  @@ -202,6 +202,7 @@
> >>        *
> >>        * @throws UnsupportedOperationException if no more
> >> LoggerListeners are
> >>        *         permitted.
> >>  +     * @deprecated Deprecated and replaced by
> >> setLoggerListener(loggerListener)
> >>        */
> >>       public synchronized void addLoggerListener( final
> >> LoggerListener loggerListener )
> >>       {
> >>  @@ -225,6 +226,7 @@
> >>        * step before adding a new one if you want to change it.
> >>        *
> >>        * @param loggerListener the LoggerListener
> >>  +     * @deprecated Deprecated and replaced by setLoggerListener(null)
> >>        */
> >>       public synchronized void removeLoggerListener( final
> >> LoggerListener loggerListener )
> >>       {
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
> >> For additional commands, e-mail: cvs-help@avalon.apache.org

-- 
Cheers,

Peter Donald
---------------------------------------------------------
Clarke's Third Law: "Any technology distinguishable from 
magic is insufficiently advanced".
---------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message