From: <ju...@us...> - 2007-12-05 16:31:36
|
Revision: 5648 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=5648&view=rev Author: julgui Date: 2007-12-05 08:31:33 -0800 (Wed, 05 Dec 2007) Log Message: ----------- Fixed problem with methods: sfContainsTag(String tag) sfRemoveTags(Set tags). SFOS-578 http://jira.smartfrog.org/jira/browse/SFOS-578 Modified Paths: -------------- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimImpl.java Modified: trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimImpl.java =================================================================== --- trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimImpl.java 2007-12-05 16:22:34 UTC (rev 5647) +++ trunk/core/smartfrog/src/org/smartfrog/sfcore/prim/PrimImpl.java 2007-12-05 16:31:33 UTC (rev 5648) @@ -2015,14 +2015,14 @@ * the attribute does not exist; */ public void sfRemoveTags( Set tags) throws RemoteException, SmartFrogRuntimeException { - Object key = null; + Object key = null; if (sfParent!=null) { key = sfParent.sfAttributeKeyFor(this); - sfParent.sfRemoveTags(tags); + sfParent.sfRemoveTags(key,tags); } else { Prim parent = SFProcess.getProcessCompound(); key = parent.sfAttributeKeyFor(this); - parent.sfRemoveTags(tags); + parent.sfRemoveTags(key, tags); } } @@ -2039,11 +2039,11 @@ Object key = null; if (sfParent!=null) { key = sfParent.sfAttributeKeyFor(this); - return sfParent.sfContainsTag(tag); + return sfParent.sfContainsTag(key, tag); } else { Prim parent = SFProcess.getProcessCompound(); key = parent.sfAttributeKeyFor(this); - return parent.sfContainsTag(tag); + return parent.sfContainsTag(key, tag); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |