From: <lh...@us...> - 2008-08-04 12:25:58
|
Revision: 86 http://tinytim.svn.sourceforge.net/tinytim/?rev=86&view=rev Author: lheuer Date: 2008-08-04 12:26:05 +0000 (Mon, 04 Aug 2008) Log Message: ----------- Association: Removed unecessary setType/getType methods (they are provided by the superclass) Modified Paths: -------------- tinytim/trunk/src/main/java/org/tinytim/AssociationImpl.java Modified: tinytim/trunk/src/main/java/org/tinytim/AssociationImpl.java =================================================================== --- tinytim/trunk/src/main/java/org/tinytim/AssociationImpl.java 2008-07-28 16:55:01 UTC (rev 85) +++ tinytim/trunk/src/main/java/org/tinytim/AssociationImpl.java 2008-08-04 12:26:05 UTC (rev 86) @@ -39,7 +39,6 @@ IReifiable, ITyped, IScoped { private Set<AssociationRole> _roles; - private Topic _type; AssociationImpl(TopicMapImpl topicMap) { super(topicMap, null, null); @@ -102,24 +101,6 @@ } /* (non-Javadoc) - * @see org.tmapi.core.Association#getType() - */ - public Topic getType() { - return _type; - } - - /* (non-Javadoc) - * @see org.tmapi.core.Association#setType(org.tmapi.core.Topic) - */ - public void setType(Topic type) { - if (_type == type) { - return; - } - _fireEvent(Event.SET_TYPE, _type, type); - _type = type; - } - - /* (non-Javadoc) * @see org.tmapi.core.TopicMapObject#remove() */ public void remove() throws TMAPIException { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |