commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Goldenberg" <ggoldenb...@Initiatesystems.com>
Subject [betwixt] AddDefaultsRule bug in 0.7RC2
Date Thu, 07 Jul 2005 19:52:33 GMT
I think there may be a bug in the org.apache.commons.betwixt.digester.AddDefaultsRule class.
 I was testing the "add-adders" and "add-properties" flags on the <addDefaults> element
in the .betwixt file.  The flags didn't seem to work correctly, so I debugged into AddDefaultsRule
and saw on line 69:

	addProperties = Boolean.valueOf(addAddersAttributeValue).booleanValue();

I changed this to:

	addAdders = Boolean.valueOf(addAddersAttributeValue).booleanValue();

and things worked as expected.

thanks,
glenn

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message