On Aug 1, 2006, at 6:39 AM, [EMAIL PROTECTED] wrote:
Object attrValue = attr.getValue();
if (attrValue instanceof ComponentDefinition) {
retValue = (ComponentDefinition) attrValue;
-} else { // It must be a string
+} else if (attrValue instanceof
Greg Reddin ha scritto:
Thanks for doing this :-) It's nice to see someone else committing.
My pleasure :-)
-} else { // It must be a string
+} else if (attrValue instanceof String) {
In the above code do you think it's ok to return null in the unlikely
event attrValue is