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 2016/03/15 16:03:45 UTC

svn commit: r1735095 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java

Author: kwin
Date: Tue Mar 15 15:03:44 2016
New Revision: 1735095

URL: http://svn.apache.org/viewvc?rev=1735095&view=rev
Log:
SLING-5610 removed wrong @Nonnull annotation on getValueMap(Resource)

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=1735095&r1=1735094&r2=1735095&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 Tue Mar 15 15:03:44 2016
@@ -371,7 +371,7 @@ public class ResourceUtil {
      * @param res The <code>Resource</code> to adapt to the value map.
      * @return A value map.
      */
-    public static @Nonnull ValueMap getValueMap(@Nonnull final Resource res) {
+    public static @Nonnull ValueMap getValueMap(final Resource res) {
         if ( res == null ) {
             // use empty map
             return new ValueMapDecorator(new HashMap<String, Object>());