[20621] hippo-ecm: HREPTWO-16: Add comment about illegal names in javadoc

View: New views
1 Messages — Rating Filter:   Alert me  

[20621] hippo-ecm: HREPTWO-16: Add comment about illegal names in javadoc

by rbijlsma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 20621
Author:   bvdschans
Date:     2009-11-10 16:36:43 +0100 (Tue, 10 Nov 2009)
Log Message:
-----------
HREPTWO-16: Add comment about illegal names in javadoc

Modified Paths:
--------------
    hippo-ecm/trunk/api/src/main/java/org/hippoecm/repository/api/NodeNameCodec.java

Modified: hippo-ecm/trunk/api/src/main/java/org/hippoecm/repository/api/NodeNameCodec.java
===================================================================
--- hippo-ecm/trunk/api/src/main/java/org/hippoecm/repository/api/NodeNameCodec.java 2009-11-10 15:27:54 UTC (rev 20620)
+++ hippo-ecm/trunk/api/src/main/java/org/hippoecm/repository/api/NodeNameCodec.java 2009-11-10 15:36:43 UTC (rev 20621)
@@ -93,6 +93,7 @@
      * namespace, the prefix is not encoded but returned as-is.</p>
      * <p>Calling encode multiple times on the same string will return
      * the same result as encoding the string once.</p>
+     * <p>An IllegalArgumentException is thrown when the name is empty or null.</p>
      * @param name the name to encode
      * @return the encoded name
      */
@@ -118,6 +119,7 @@
      * encoding colons.</p>
      * <p>Calling encode multiple times on the same string will return
      * the same result as encoding the string once.</p>
+     * <p>An IllegalArgumentException is thrown when the name is empty or null.</p>
      * @param name the name to encode
      * @param forceSimpleName force the name to be interpreted as a simple (non prefixed) name
      * @return the encoded name

_______________________________________________
HippoRepos-dev mailing list
HippoRepos-dev@...
http://lists.hippo.nl/mailman/listinfo/hipporepos-dev