abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Diephouse <dan.diepho...@mulesource.com>
Subject Re: UnknownTarget and error codes
Date Mon, 18 Feb 2008 01:43:04 GMT
Agreed on DefaultTarget/AbstractTarget.

Have you guys seen TargetType.NOT_FOUND? I needed this for my app and 
added it a few weeks ago. For a rather complex, hierarchical example 
which basically provides full directory capabilities see:


I've been meaning to write this up, but may be a few days yet...
- Dan

Glen Daniels wrote:
> James M Snell wrote:
>> We're supposed to have a rationale? :-)
>> 404 would be better. Want to submit a patch?
> Sure.
> https://issues.apache.org/jira/browse/ABDERA-124
> You'll note that I made AbstractTarget (which didn't actually have any 
> abstract methods) a non-abstract class in order to get rid of 
> UnknownTarget as a separate class.
> If you look at it, DefaultTarget and AbstractTarget are just about (if 
> not totally) identical.  Can we get rid of one of them, and maybe call 
> the one we keep either BaseTarget or DefaultTarget?
> Thanks,
> --Glen

Dan Diephouse
http://mulesource.com | http://netzooid.com/blog

View raw message