You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/03/07 08:03:55 UTC
svn commit: r1785808 -
/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ValueMap.java
Author: kwin
Date: Tue Mar 7 08:03:54 2017
New Revision: 1785808
URL: http://svn.apache.org/viewvc?rev=1785808&view=rev
Log:
SLING-6609 clarified implementation hint to use get(String), instead of get(String, Class) because the class is not available when the defaultValue is null
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=1785808&r1=1785807&r2=1785808&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 Tue Mar 7 08:03:54 2017
@@ -74,7 +74,7 @@ public interface ValueMap extends Map<St
* case.
* <br><br>
* <b>Implementation hint</b>: In the past it was allowed to call this with a 2nd parameter being {@code null}.
- * Therefore all implementations should internally call {@link #get(String, Class)} when the 2nd parameter
+ * Therefore all implementations should internally call {@link #get(String)} when the 2nd parameter
* has value {@code null}.
*
* @param name The name of the property