Author: sseifert
Date: Wed Sep 10 07:51:21 2014
New Revision: 1623932

URL: http://svn.apache.org/r1623932
Log:
SLING-3887 Un-deprecate ResourceUtil.getValueMap method (no functional/contract 
change)

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

Modified: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java?rev=1623932&r1=1623931&r2=1623932&view=diff
==============================================================================
--- 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
 (original)
+++ 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
 Wed Sep 10 07:51:21 2014
@@ -356,12 +356,12 @@ public class ResourceUtil {
      * <code>Resource</code>. This method calls {@link Resource#getValueMap()}.
      * If <code>null</code> is provided as the resource an empty map is 
returned as
      * well.
+     * <p>For backward compatibility reasons the map returned is not immutable,
+     * but it is not recommend to rely on this behavior.</p>
      *
      * @param res The <code>Resource</code> to adapt to the value map.
      * @return A value map.
-     * @deprecated Use {@link Resource#getValueMap()}.
      */
-    @Deprecated
     public static ValueMap getValueMap(final Resource res) {
         if ( res == null ) {
             // use empty map


Reply via email to