ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cmanola...@yahoo.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/listener CommonsLoggingListener.java
Date Thu, 09 Jan 2003 03:39:44 GMT
Ops. 

I was trying to get UnknownElement return the wrapped data type - and
added the getObject that sliped into the commit. Sorry and thanks for
fixing it.

Costin

conor@apache.org wrote:

> conor       2003/01/08 19:31:00
> 
>   Modified:    src/main/org/apache/tools/ant/listener
>                         CommonsLoggingListener.java
>   Log:
>   Make this compile
>   
>   Revision  Changes    Path
>   1.4       +2 -2     
>   
jakarta-ant/src/main/org/apache/tools/ant/listener/CommonsLoggingListener.java
>   
>   Index: CommonsLoggingListener.java
>   ===================================================================
>   RCS file:
>   
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/listener/CommonsLoggingListener.java,v
>   retrieving revision 1.3 retrieving revision 1.4
>   diff -u -w -u -r1.3 -r1.4
>   --- CommonsLoggingListener.java     8 Jan 2003 08:06:48 -0000       1.3
>   +++ CommonsLoggingListener.java     9 Jan 2003 03:30:59 -0000       1.4
>   @@ -192,7 +192,7 @@
>                Task task = event.getTask();
>                Object real=task;
>                if( task instanceof UnknownElement ) {
>   -                Object realObj=((UnknownElement)task).getObject();
>   +                Object realObj=((UnknownElement)task).getTask();
>                    if( realObj!=null ) {
>                        real=realObj;
>                    }
>   @@ -213,7 +213,7 @@
>                Task task = event.getTask();
>                Object real=task;
>                if( task instanceof UnknownElement ) {
>   -                Object realObj=((UnknownElement)task).getObject();
>   +                Object realObj=((UnknownElement)task).getTask();
>                    if( realObj!=null ) {
>                        real=realObj;
>                    }



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message