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:23 UTC
[sling-org-apache-sling-caconfig-spi] 07/14: SLING-6244 picked
wrong annotation, use @Nonnull instead
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 b8dddfa798ec382ea3380378eb18611d50dbd563
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Mon Nov 7 09:39:56 2016 +0000
SLING-6244 picked wrong annotation, use @Nonnull instead
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/contextaware-config/spi@1768468 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/caconfig/resource/spi/CollectionInheritanceDecider.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 3400ffe..aac9479 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,11 +18,11 @@
*/
package org.apache.sling.caconfig.resource.spi;
+import javax.annotation.Nonnull;
+
import org.apache.sling.api.resource.Resource;
import org.osgi.annotation.versioning.ConsumerType;
-import com.sun.istack.internal.NotNull;
-
/**
* The {@code CollectionInheritanceDecider} is an SPI which should be used by
* all {@link ConfigurationResourceResolvingStrategy} implementations if they
@@ -41,6 +41,6 @@ public interface CollectionInheritanceDecider {
* @param resource The resource
* @return The decision.
*/
- @NotNull InheritanceDecision decide(@NotNull Resource resource, @NotNull String bucketName);
+ @Nonnull 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>.