You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2022/06/08 00:27:17 UTC

[tapestry-5] 02/03: Adding @since to InjectComponent.optional()

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

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit 6fc6de2043654b20fce423ae3470be0bff3ea09d
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Tue Jun 7 18:30:05 2022 -0300

    Adding @since to InjectComponent.optional()
---
 .../main/java/org/apache/tapestry5/annotations/InjectComponent.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/InjectComponent.java b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/InjectComponent.java
index cc69d9d51..07679b76e 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/InjectComponent.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/InjectComponent.java
@@ -1,4 +1,4 @@
-// Copyright 2008, 2009 The Apache Software Foundation
+// Copyright 2008, 2009, 2022 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -39,6 +39,7 @@ public @interface InjectComponent
 
     /**
      * If true, allows the component to be missing without throwing an exception.
+     * @since 5.8.2
      */
     boolean optional() default false;
 }