[
https://issues.apache.org/jira/browse/PIVOT-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandro Martini resolved PIVOT-896.
----------------------------------
Resolution: Fixed
Resolved.
If there is something to update, be free to reopen this issue, or write here.
> 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
>
> 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