On 9/11/06, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
Apparently, I misunderstood the information in Lance's mail: the SVN
version of the files contains the call to
_ComponentUtils.getStringValue(). Is there any reason why this method
is used for String values (and not for e.g. boolean or Object)?
If the call to _ComponentUtils.getStringValue() is no longer necessary,
the generated code is a rather good match to the code currently in SVN,
with the exception of some whitespace and comments. My suggestion would
be to move the comments to the top of the file and commit the
regenerated files after checking that there are no other semantic changes.
I haven't looked at the code in a while, but I think the
_ComponentUtils methods explicitly typecasted to a String, boolean,
Integer, etc. It may also throw appropriate exceptions or log errors.
Basically, it's centralizing all operatings on a ValueBinding so
they only need to be changed in one place to change the behavior
everywhere.