From: Alistair C. (JIRA) <ji...@sm...> - 2008-03-28 15:25:39
|
[ http://jira.smartfrog.org/jira/browse/SFOS-754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alistair Coles closed SFOS-754. ------------------------------- Resolution: Fixed > Inconsistent handling of no tags condition in ContextImpl > --------------------------------------------------------- > > Key: SFOS-754 > URL: http://jira.smartfrog.org/jira/browse/SFOS-754 > Project: SmartFrog > Issue Type: Bug > Components: .sfCore > Reporter: Alistair Coles > Assignee: Alistair Coles > > The following code would fail at the second assertion: > ComponentDescription cd1 = new ComponentDescriptionImpl(null, new ContextImpl(), false); > ComponentDescription cd2 = new ComponentDescriptionImpl(null, new ContextImpl(), false); > String name = "name"; > String value = "foo"; > cd1.sfAddAttribute(name, value); > cd2.sfAddAttribute(name, value); > assert cd1.equals(cd2); > > cd1.sfGetTags(name); > assert cd1.equals(cd2); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.smartfrog.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |