This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch wicket-9.x in repository https://gitbox.apache.org/repos/asf/wicket.git
commit f6aad00379b977b3ad85aa8e8c445dd6a7efb47c Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> AuthorDate: Tue Jan 11 14:22:53 2022 +0200 Javadoc wording improvement Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> --- .../java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java | 4 ++-- .../java/org/apache/wicket/request/component/IRequestablePage.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java b/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java index 06497ec..f7e982d 100644 --- a/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java +++ b/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java @@ -132,8 +132,8 @@ public class AjaxNewWindowNotifyingBehavior extends AbstractDefaultAjaxBehavior } /** - * A callback method when a new window/tab is opened for a page instance which is already opened - * in another window/tab. + * A callback method that is called when a new window/tab is opened for a page instance + * which is already opened in another window/tab. * <p> * Default implementation redirects to a new page instance with identical page parameters. * diff --git a/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestablePage.java b/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestablePage.java index a5cfb22..42beab8 100644 --- a/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestablePage.java +++ b/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestablePage.java @@ -45,8 +45,8 @@ public interface IRequestablePage extends IRequestableComponent, IManageablePage * Returns the number of times this page has been rendered. The number will be appended to * request listener links in order to prevent invoking listeners from staled page version. * <p> - * For example a same page might have been rendered in two separate tabs. Page render doesn't - * change page id but it can modify component hierarchy. Request listeners on such page + * For example, the same page might have been rendered in two separate tabs. Page render doesn't + * change page id, but it can modify component hierarchy. Request listeners on such page * should only work in tab where the page was rendered most recently. * * @return render count