ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [myrmidon] axe DataType interface
Date Sun, 23 Jun 2002 07:45:47 GMT
At 05:36 PM 6/23/2002 +1000, you wrote:
>On Sun, 23 Jun 2002 16:35, Peter Donald wrote:
> > At 10:23 AM 6/23/2002 +1000, you wrote:
> > >What do you think of getting rid of the DataType interface?  We'd keep the
> > >role, but drop the requirement that a data-type must implement the
> > > interface.
> >
> > Im not a fan of it - but you already knew that. In effect if we were to put
> > this in we would be special casing the whole system. It would be better to
> > do
> >
> > if( datatype ) doMagic();
> > else doNormalStuff();
>
>Um, where would it be better to do this?  It's not real clear.

No idea - thats your area of expertise ;)

I had a brief look and it looks like the only place where role class is 
actually enforced is in InstantiatingServiceManager. Is there anywhere else 
that it is enforced?


Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
              - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
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