polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingzhou Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZEST-141) UseDefaults annotation with value
Date Fri, 15 Apr 2016 08:22:25 GMT

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

Mingzhou Zhuang updated ZEST-141:
---------------------------------
    Description: 
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}

  was:
Define default value where I declare the Property, such as:

public interface ABC {
   @UseDefaults(value="127.0.0.1")
   Property<String> hostname();


   @UseDefaults(value=8080)
   Property<Integer> port();
}



> 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
>            Priority: Minor
>              Labels: features
>
> 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)

Mime
View raw message