Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7913D115E8 for ; Mon, 1 Sep 2014 17:38:50 +0000 (UTC) Received: (qmail 96378 invoked by uid 500); 1 Sep 2014 17:38:50 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 96324 invoked by uid 500); 1 Sep 2014 17:38:50 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 96309 invoked by uid 99); 1 Sep 2014 17:38:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2014 17:38:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0C2D2957E88; Mon, 1 Sep 2014 17:38:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hlship@apache.org To: commits@tapestry.apache.org Date: Mon, 01 Sep 2014 17:38:50 -0000 Message-Id: <11cfad46141d4993813e59ed94904bf8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: Update @PageAttached and @PageDetached to no longer be marked as deprecated Repository: tapestry-5 Updated Branches: refs/heads/master 85a7f9846 -> 42b0486e2 Update @PageAttached and @PageDetached to no longer be marked as deprecated Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0998b92d Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0998b92d Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0998b92d Branch: refs/heads/master Commit: 0998b92d51d475ed20fa5aadea06bc5bd37c39a8 Parents: 85a7f98 Author: Howard M. Lewis Ship Authored: Mon Sep 1 10:08:05 2014 -0700 Committer: Howard M. Lewis Ship Committed: Mon Sep 1 10:08:05 2014 -0700 ---------------------------------------------------------------------- .../java/org/apache/tapestry5/annotations/PageAttached.java | 3 --- .../java/org/apache/tapestry5/annotations/PageDetached.java | 3 --- .../org/apache/tapestry5/runtime/PageLifecycleListener.java | 6 ++---- .../java/org/apache/tapestry5/services/TransformConstants.java | 2 -- 4 files changed, 2 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java index d26da9e..2914ac5 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java @@ -1,5 +1,3 @@ -// Copyright 2007, 2009, 2010, 2011 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. // You may obtain a copy of the License at @@ -36,7 +34,6 @@ import static org.apache.tapestry5.ioc.annotations.AnnotationUseContext.*; * the page pool. * * @see PageDetached - * @deprecated In Tapestry 5.3, with no replacement (attach logic no longer meaningful now that pages are singletons). */ @Target(METHOD) @Retention(RUNTIME) http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java index b83845d..b9d3f82 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java @@ -1,5 +1,3 @@ -// Copyright 2007, 2009, 2010 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. // You may obtain a copy of the License at @@ -35,7 +33,6 @@ import static org.apache.tapestry5.ioc.annotations.AnnotationUseContext.*; * page pool. * * @see PageAttached - * @deprecated In Tapestry 5.3, with no replacement (detach logic no longer meaningful now that pages are singletons). */ @Target(METHOD) @Retention(RUNTIME) http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java b/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java index 8c91339..67eda6a 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/runtime/PageLifecycleListener.java @@ -1,5 +1,3 @@ -// Copyright 2006, 2009, 2011, 2012 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. // You may obtain a copy of the License at @@ -35,7 +33,7 @@ public interface PageLifecycleListener * Invoked when the page is detached, allowing components a chance to clear out any temporary or client specific * state. * - * @deprecated In Tapestry 5.3, with no replacement (detach logic no longer meaningful now that pages are singletons). + * @deprecated In Tapestry 5.3, use {@link PageLifecycleCallbackHub#addPageDetachedCallback(Runnable)} instead. */ void containingPageDidDetach(); @@ -43,7 +41,7 @@ public interface PageLifecycleListener * Invoked when a page is first attached to the current request, giving components a chance to initialize for the * current request. * - * @deprecated In Tapestry 5.3, with no replacement (attach logic no longer meaningful now that pages are singletons). + * @deprecated In Tapestry 5.3, use {@link org.apache.tapestry5.runtime.PageLifecycleCallbackHub#addPageAttachedCallback(Runnable)} instead. */ void containingPageDidAttach(); http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0998b92d/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java b/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java index a27915c..3cdfa52 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/TransformConstants.java @@ -84,7 +84,6 @@ public final class TransformConstants * Description for {@link org.apache.tapestry5.runtime.PageLifecycleListener#containingPageDidDetach()}. * * @since 5.3 - * @deprecated Deprecated in 5.3, with {@link org.apache.tapestry5.annotations.PageDetached}. */ public static final MethodDescription CONTAINING_PAGE_DID_DETACH_DESCRIPTION = PlasticUtils.getMethodDescription(PageLifecycleListener.class, "containingPageDidDetach"); @@ -93,7 +92,6 @@ public final class TransformConstants * Description for {@link org.apache.tapestry5.runtime.PageLifecycleListener#containingPageDidAttach()}. * * @since 5.3 - * @deprecated Deprecated in 5.3, along with {@link org.apache.tapestry5.annotations.PageAttached}. */ public static final MethodDescription CONTAINING_PAGE_DID_ATTACH_DESCRIPTION = PlasticUtils.getMethodDescription(PageLifecycleListener.class, "containingPageDidAttach");