Rewrite FlexibleMapAccessor into a top-down instead of bottom-up algorithm
--------------------------------------------------------------------------
Key: OFBIZ-1352
URL: https://issues.apache.org/jira/browse/OFBIZ-1352
Project: OFBiz
Issue Type: Improvement
Components: framework
Affects Versions: SVN trunk
Reporter: Adam Heath
Fix For: SVN trunk
Attachments:
framework-base-FlexibleMapAccessor-bottom-up-top-down.patch
It wasn't possible to make FlexibleMapAccessor generic, given how it was
currently written. There was a single field that would change the type of the
object it stored, based on various other parameters. So, the attached patch is
a major rewrite of the algorithm.
The code still parses the string into an internal compiled form; but resolution
now happens left-to-right, instead of inside-out.
I'm filing this as a bug instead of just committing it, as I want it to be
discussed first. There is one patch left after this, to make all of
framework/base generified and ported to java 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.