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 2013/12/31 17:18:51 UTC

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

Oliver Heger created CONFIGURATION-562:
------------------------------------------

             Summary: 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)