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.
|