incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1438373 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java
Date Fri, 25 Jan 2013 07:33:43 GMT
Author: cziegeler
Date: Fri Jan 25 07:33:43 2013
New Revision: 1438373

URL: http://svn.apache.org/viewvc?rev=1438373&view=rev
Log:
SLING-2712 :  Update JavaDocs of ValueMap wrt primitive types 

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java?rev=1438373&r1=1438372&r2=1438373&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java Fri
Jan 25 07:33:43 2013
@@ -39,6 +39,9 @@ public interface ValueMap extends Map<St
 
     /**
      * Get a named property and convert it into the given type.
+     * This method does not support conversion into a primitive type or an
+     * array of a primitive type. It should return <code>null</code> in this
+     * case.
      *
      * @param name The name of the property
      * @param type The class of the type
@@ -49,6 +52,9 @@ public interface ValueMap extends Map<St
 
     /**
      * Get a named property and convert it into the given type.
+     * This method does not support conversion into a primitive type or an
+     * array of a primitive type. It should return the default value in this
+     * case.
      *
      * @param name The name of the property
      * @param defaultValue The default value to use if the named property does



Mime
View raw message