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 2023/01/28 19:23:30 UTC

[tapestry-5] branch master updated: Fix JavaDoc typo on EventContext.tryGet(Class,int)

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


The following commit(s) were added to refs/heads/master by this push:
     new f2b21b385 Fix JavaDoc typo on EventContext.tryGet(Class,int)
f2b21b385 is described below

commit f2b21b385e615e255ef15234c293686da205c616
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Jan 28 16:23:26 2023 -0300

    Fix JavaDoc typo on EventContext.tryGet(Class,int)
---
 tapestry-core/src/main/java/org/apache/tapestry5/EventContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/EventContext.java b/tapestry-core/src/main/java/org/apache/tapestry5/EventContext.java
index 7b4839399..240b8d45e 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/EventContext.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/EventContext.java
@@ -57,7 +57,7 @@ public interface EventContext
      *            the type of value required
      * @param index
      *            identifies which parameter value to extract
-     * @return the value extracted and converted or coerced, wrapped in an Optional, or {@link Optional#isEmpty()}
+     * @return the value extracted and converted or coerced, wrapped in an Optional, or {@link Optional#empty()}
      *         if index is out of bounds, or the value can't be converted.
      * @since 5.8.2
      */