You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:19:25 UTC

[sling-org-apache-sling-caconfig-spi] 09/14: SLING-6244 use @CheckForNull for return value

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.caconfig.spi-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-caconfig-spi.git

commit 0c50407ec486e19a7f58a307e7c3d301c1c33f5f
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Mon Nov 7 10:04:19 2016 +0000

    SLING-6244 use @CheckForNull for return value
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/contextaware-config/spi@1768474 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/caconfig/resource/spi/CollectionInheritanceDecider.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/caconfig/resource/spi/CollectionInheritanceDecider.java b/src/main/java/org/apache/sling/caconfig/resource/spi/CollectionInheritanceDecider.java
index 1713f0a..ca46715 100644
--- a/src/main/java/org/apache/sling/caconfig/resource/spi/CollectionInheritanceDecider.java
+++ b/src/main/java/org/apache/sling/caconfig/resource/spi/CollectionInheritanceDecider.java
@@ -18,6 +18,7 @@
  */
 package org.apache.sling.caconfig.resource.spi;
 
+import javax.annotation.CheckForNull;
 import javax.annotation.Nonnull;
 
 import org.apache.sling.api.resource.Resource;
@@ -42,6 +43,6 @@ public interface CollectionInheritanceDecider {
      * @param resource The resource
      * @return The decision or {@code null}
      */
-    @Nonnull InheritanceDecision decide(@Nonnull Resource resource, @Nonnull String bucketName);
+    @CheckForNull InheritanceDecision decide(@Nonnull Resource resource, @Nonnull String bucketName);
 
 }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.