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 2016/01/16 07:44:39 UTC

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

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

Anatole Tresch resolved TAMAYA-132.
-----------------------------------
    Resolution: Fixed

> 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
>              Labels: API, Injection
>             Fix For: 0.2-incubating
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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)