|
From: Peter De B. (JIRA) <no...@at...> - 2007-11-29 07:57:16
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-250.
-----------------------------------
Resolution: Fixed
changed checked in
> Misleading info message from LabeledObjectSupport class
> -------------------------------------------------------
>
> Key: RCP-250
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-250
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Damir Murat
> Assignee: Peter De Bruycker
> Priority: Minor
>
> Method LabeledObjectSupport.setTitle(String) uses LabeledObjectSupport.getDisplayName() to retrieve title old value. Unfortunately, while setting up title property for the first time, this results in misleading info log message ' This labeled object's display name is not configured...".
> Problem can be solved by introducing minor changes in setTitle() method:
> public void setTitle(String title) {
> String oldValue = null;
> if (this.title != null || this.label != null) {
> oldValue = getDisplayName();
> }
> this.title = title;
> firePropertyChange(DISPLAY_NAME_PROPERTY, oldValue, getDisplayName());
> }
> Regards,
> Damir Murat
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|