You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2014/01/01 17:54:50 UTC

[jira] [Resolved] (CONFIGURATION-562) Improve API of ExprLookup class

     [ https://issues.apache.org/jira/browse/CONFIGURATION-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-562.
----------------------------------------

    Resolution: Fixed

Fixed in SVN in revision 1554640.

> Improve API of ExprLookup class
> -------------------------------
>
>                 Key: CONFIGURATION-562
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-562
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Interpolation
>    Affects Versions: 1.10
>            Reporter: Oliver Heger
>             Fix For: 2.0
>
>
> {{ExprLookup}} can be assigned an {{AbstractConfiguration}} object. This is a bit smelly because here a concrete implementation rather than the generic {{Configuration}} interface is used.
> In fact, the class only uses the {{ConfigurationInterpolator}} and the logger from its associated configuration object. So it would be clearer (and more loosely coupled) to define properties for these objects rather than having an associated, full-blown {{AbstractConfiguration}} object.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)