This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.models.api-1.2.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-api.git
commit 9b47c082dce93a458cab03e9de3284fde5b45897 Author: Konrad Windszus <[email protected]> AuthorDate: Fri May 29 09:27:50 2015 +0000 SLING-4737 add missing JSR 305 annotations git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/api@1682403 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/models/spi/Injector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/sling/models/spi/Injector.java b/src/main/java/org/apache/sling/models/spi/Injector.java index 603b168..e798875 100644 --- a/src/main/java/org/apache/sling/models/spi/Injector.java +++ b/src/main/java/org/apache/sling/models/spi/Injector.java @@ -38,7 +38,7 @@ public interface Injector { * Produce a value for an injection point. * * @param adaptable the object which should be used as the basis for value resolution. - * @param name the injection point name + * @param name the injection point name (may be only {@code null} if injector implements the {@link AcceptsNullName} interface, otherwise never {@code null}) * @param declaredType the declared type of the injection point * @param element the injection point itself * @param callbackRegistry a registry object to register a callback object which will be @@ -46,5 +46,5 @@ public interface Injector { * * @return the value to be injected or null if no value could be resolved */ - @CheckForNull Object getValue(@Nonnull Object adaptable, @Nonnull String name, @Nonnull Type declaredType, @Nonnull AnnotatedElement element, @Nonnull DisposalCallbackRegistry callbackRegistry); + @CheckForNull Object getValue(@Nonnull Object adaptable, String name, @Nonnull Type declaredType, @Nonnull AnnotatedElement element, @Nonnull DisposalCallbackRegistry callbackRegistry); } \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
