[
https://issues.apache.org/jira/browse/ZEST-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niclas Hedhman resolved ZEST-141.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0
I am confident that this works, and that I need to fix OrgJsonDeserializer to
make the testcase a bit stronger.
> UseDefaults annotation with value
> ---------------------------------
>
> Key: ZEST-141
> URL: https://issues.apache.org/jira/browse/ZEST-141
> Project: Zest
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: Mingzhou Zhuang
> Assignee: Niclas Hedhman
> Priority: Minor
> Labels: features
> Fix For: 3.0
>
>
> Define default value where I declare the Property, such as:
> {code}
> public interface ABC {
> @UseDefaults(value="127.0.0.1")
> Property<String> hostname();
> @UseDefaults(value=8080)
> Property<Integer> port();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)