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.3.4 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-api.git
commit 21bf362299ba6dac533ba07a3323248630ea8922 Author: Konrad Windszus <[email protected]> AuthorDate: Thu Apr 13 08:42:06 2017 +0000 SLING-6658 adjust javadoc to mention that annotated class itself is always registered as adapter git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/api@1791221 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/sling/models/annotations/Model.java | 1 + src/main/java/org/apache/sling/models/annotations/package-info.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/models/annotations/Model.java b/src/main/java/org/apache/sling/models/annotations/Model.java index 7dafa33..072bbd1 100644 --- a/src/main/java/org/apache/sling/models/annotations/Model.java +++ b/src/main/java/org/apache/sling/models/annotations/Model.java @@ -38,6 +38,7 @@ public @interface Model { /** * @return List of classes to which can be adapted. If missing, the class that is annotated is used. * If classes are given, they have to be either the annotated class itself, or interfaces or super classes of the class. + * The annotated class itself is always implicitly added to the adapters and does not need to be listed explicitly here. */ public Class<?>[] adapters() default {}; diff --git a/src/main/java/org/apache/sling/models/annotations/package-info.java b/src/main/java/org/apache/sling/models/annotations/package-info.java index 1cf7e55..57d589b 100644 --- a/src/main/java/org/apache/sling/models/annotations/package-info.java +++ b/src/main/java/org/apache/sling/models/annotations/package-info.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@Version("1.4.0") +@Version("1.4.1") package org.apache.sling.models.annotations; import aQute.bnd.annotation.Version; \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
