#595: Refactor multiproduct.env.ProductEnvironment to remove private caching variables ---------------------------+------------------------------ Reporter: rjollos | Owner: rjollos Type: enhancement | Status: closed Priority: minor | Milestone: Release 7 Component: multiproduct | Version: Resolution: fixed | Keywords: environment lazy ---------------------------+------------------------------ Changes (by rjollos):
* status: accepted => closed * resolution: => fixed Comment: Changes are similar to [t 11863:11867]. ---- (In [1511622]) `multiproduct.env.ProductEnvironment`: Removed private `_href` variable, made unnecessary by use of `lazy` decorator. Refs #595. ---- (In [1511625]) `multiproduct.env.ProductEnvironment`: Removed private `_abs_href` attribute, made unnecessary by use of `lazy` decorator. Refs #595. ----- (In [1511628]) `multiproduct.env.ProductEnvironment`: Add unit test for `path` attribute laziness. Refs #595. ----- (In [1511640]) `multiproduct.env.ProductEnvironment`: Refactoring - Access `path` value in `SplitResult` object by attribute (available since Python 2.5) rather than index, to improve code clarity. Added tests for `href` attribute. Refs #595. -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/595#comment:2> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker