You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2013/02/22 12:04:12 UTC

[jira] [Updated] (PIVOT-896) do not allow to set text to null in Labels

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

Sandro Martini updated PIVOT-896:
---------------------------------

    Fix Version/s: 2.0.3
    
> do not allow to set text to null in Labels
> ------------------------------------------
>
>                 Key: PIVOT-896
>                 URL: https://issues.apache.org/jira/browse/PIVOT-896
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk, wtk-terra
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>              Labels: label, null, text
>             Fix For: 2.0.3
>
>
> To have Label more aligned with other existing classes (TextInput, TextArea, etc) now it will not be possible to set a text null in Label instances.
> Note that existing applications (usually custom renderers) could need to check for not null before calling the Label setText(text) now, for example:
> label.setText(text != null ? text : "");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira