pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: some small things before Pivot 2.0
Date Fri, 12 Nov 2010 12:43:12 GMT
>> I think it would be preferable to throw an IllegalArgumentException if the string
does not start with "/". I'll take a look at the other issues in more detail when I get a
> Ok, but do you prefer to fix even this ?

Sure - we just need to find all instances where we are calling getResource(...substring(1))
and precede them with a check for startsWith("/").

View raw message