DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28486>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28486

[digester] ExtendedBaseRules test fails





------- Additional Comments From [EMAIL PROTECTED]  2004-04-29 20:43 -------
i've taken a look and i now agree with you about the fix and the basic cause: it's a 
simple bug which can 
be fixed just by assigning the key length to a variable. i'd be happy to see your 
patch committed.

i also agree with you that the peculiar ordering of the entries in a post-1.2 map 
appears to mask this 
problem. i'm no longer sure that it'll be easy to create a simple unit test for it.

the method could be improved by preforming each startsWith and endsWith just once and 
assigning to 
a boolean variable. this should make things a little more readible as well as improve 
performance a 
little.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to