From: <jos...@us...> - 2008-11-25 20:21:50
|
Revision: 93 http://tmapi.svn.sourceforge.net/tmapi/?rev=93&view=rev Author: joschmidt Date: 2008-11-25 20:21:44 +0000 (Tue, 25 Nov 2008) Log Message: ----------- Updated docs section regarding NULL handling in mergeIn() and createLocator() Modified Paths: -------------- trunk/src/main/java/org/tmapi/core/TopicMap.java Modified: trunk/src/main/java/org/tmapi/core/TopicMap.java =================================================================== --- trunk/src/main/java/org/tmapi/core/TopicMap.java 2008-11-25 20:20:14 UTC (rev 92) +++ trunk/src/main/java/org/tmapi/core/TopicMap.java 2008-11-25 20:21:44 UTC (rev 93) @@ -104,6 +104,7 @@ * * @param reference A string which uses the IRI notation. * @return A {@link Locator} representing the IRI <tt>reference</tt>. + * @throws IllegalArgumentException If <tt>reference</tt> is <tt>null</tt>. */ public Locator createLocator(String reference); @@ -239,7 +240,9 @@ * If <tt>this.equals(other)</tt> no changes are made to the topic map. * </p> * - * @param other The topic map to be merged with this topic map instance. + * @param other The topic map to be merged with this topic map instance; + * must not be <tt>null</tt>. + * @throws ModelConstraintException If <tt>other</tt> is <tt>null</tt>. */ public void mergeIn(TopicMap other); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jos...@us...> - 2009-03-18 21:45:56
|
Revision: 103 http://tmapi.svn.sourceforge.net/tmapi/?rev=103&view=rev Author: joschmidt Date: 2009-03-18 21:45:46 +0000 (Wed, 18 Mar 2009) Log Message: ----------- Fixed TMDM link in the comments section of mergeIn(). Modified Paths: -------------- trunk/src/main/java/org/tmapi/core/TopicMap.java Modified: trunk/src/main/java/org/tmapi/core/TopicMap.java =================================================================== --- trunk/src/main/java/org/tmapi/core/TopicMap.java 2009-03-16 21:41:32 UTC (rev 102) +++ trunk/src/main/java/org/tmapi/core/TopicMap.java 2009-03-18 21:45:46 UTC (rev 103) @@ -231,7 +231,7 @@ * <p> * All information items in <tt>other</tt> will be merged into this * topic map as defined by the - * <a href="http://www.isotopicmaps.org/sam/sam-model/#d0e1862">Topic Maps - Data Model (TMDM) merging rules</a>. + * <a href="http://www.isotopicmaps.org/sam/sam-model/#sect-merging">Topic Maps - Data Model (TMDM) merging rules</a>. * </p> * <p> * The merge process will not modify <tt>other</tt> in any way. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-01 09:03:04
|
Revision: 186 http://tmapi.svn.sourceforge.net/tmapi/?rev=186&view=rev Author: lheuer Date: 2010-09-01 09:02:58 +0000 (Wed, 01 Sep 2010) Log Message: ----------- Fixed typo (if the variable tm is final, it is impossible to assign "tm = tmSys.createTopicMap(loc);") Modified Paths: -------------- trunk/src/main/java/org/tmapi/core/TopicMap.java Modified: trunk/src/main/java/org/tmapi/core/TopicMap.java =================================================================== --- trunk/src/main/java/org/tmapi/core/TopicMap.java 2010-09-01 08:48:13 UTC (rev 185) +++ trunk/src/main/java/org/tmapi/core/TopicMap.java 2010-09-01 09:02:58 UTC (rev 186) @@ -250,9 +250,9 @@ * The result is a map which would be equal to: * <code> * final Locator loc = tmSys.createLocator("http://example.org/map"); - * final TopicMap tm = tmSys.createTopicMap(loc); + * TopicMap tm = tmSys.createTopicMap(loc); * tm.remove(); - * tm = tmSys.createTopicMap(loc); + * tm = tmSys.createTopicMap(loc); * </code> * </p> */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-01 09:55:17
|
Revision: 187 http://tmapi.svn.sourceforge.net/tmapi/?rev=187&view=rev Author: lheuer Date: 2010-09-01 09:55:11 +0000 (Wed, 01 Sep 2010) Log Message: ----------- Removed references to sun.reflect.generics.visitor.Reifier Modified Paths: -------------- trunk/src/main/java/org/tmapi/core/TopicMap.java Modified: trunk/src/main/java/org/tmapi/core/TopicMap.java =================================================================== --- trunk/src/main/java/org/tmapi/core/TopicMap.java 2010-09-01 09:02:58 UTC (rev 186) +++ trunk/src/main/java/org/tmapi/core/TopicMap.java 2010-09-01 09:55:11 UTC (rev 187) @@ -18,8 +18,6 @@ import org.tmapi.index.Index; -import sun.reflect.generics.visitor.Reifier; - /** * Represents a * <a href="http://www.isotopicmaps.org/sam/sam-model/#d0e657">topic map item</a>. @@ -243,7 +241,7 @@ /** * Clears the topic map. * <p> - * All constructs in the topic map will be removed including the {@link Reifier} of the topic map + * All constructs in the topic map will be removed including the reifier of the topic map * and all item identifiers of the map. * </p> * <p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |