You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Anatole Tresch (JIRA)" <ji...@apache.org> on 2015/12/20 08:59:46 UTC

[jira] [Created] (TAMAYA-132) Remove @ConfigDefault in favour of @Config(defaultValue=...)

Anatole Tresch created TAMAYA-132:
-------------------------------------

             Summary: Remove @ConfigDefault in favour of @Config(defaultValue=...)
                 Key: TAMAYA-132
                 URL: https://issues.apache.org/jira/browse/TAMAYA-132
             Project: Tamaya
          Issue Type: Improvement
          Components: Modules
    Affects Versions: 0.1-incubating
            Reporter: Anatole Tresch
            Assignee: Anatole Tresch
             Fix For: 0.2-incubating


Aligning with most config frameworks today. Instead of
{noformat}
@Config("key1")
@ConfigDefault("foo");
private String configuredValue;
{noformat}

one would write
{noformat}
@Config("key1", defaultValue="foo")
private String configuredValue;
{noformat}

This reduces the annotation needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)