Author: hlship
Date: Fri Sep  3 23:42:23 2010
New Revision: 992509

URL: http://svn.apache.org/viewvc?rev=992509&view=rev
Log:
TAP5-770: Minor documentation typos in PageLoaded annotation

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageLoaded.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java?rev=992509&r1=992508&r2=992509&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageAttached.java
 Fri Sep  3 23:42:23 2010
@@ -1,4 +1,4 @@
-// Copyright 2007, 2009 The Apache Software Foundation
+// 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.
@@ -30,6 +30,9 @@ import org.apache.tapestry5.ioc.annotati
  * <p/>
  * PageAttached methods should take no parameters and return void. They must 
either have this annotation, or be named
  * "pageAttached".
+ * <p/>
+ * To be clear: methods with this annotation (or name) are still invoked even 
in Tapestry 5.2, which does away with
+ * the page pool.
  *
  * @see PageDetached
  */

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java?rev=992509&r1=992508&r2=992509&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageDetached.java
 Fri Sep  3 23:42:23 2010
@@ -1,10 +1,10 @@
-// Copyright 2007, 2009 The Apache Software Foundation
+// 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
 //
-//     http://www.apache.org/licenses/LICENSE-2.0
+// http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
@@ -29,13 +29,17 @@ import org.apache.tapestry5.ioc.annotati
  * <p/>
  * PageDetached methods should take no parameters and return void. They must 
either have this annotation, or be named
  * "pageDetached".
- *
+ * <p/>
+ * To be clear: methods with this annotation (or name) are still invoked even 
in Tapestry 5.2, which does away with the
+ * page pool.
+ * 
  * @see PageAttached
  */
 @Target(METHOD)
 @Retention(RUNTIME)
 @Documented
-...@usewith({COMPONENT,MIXIN,PAGE})
+...@usewith(
+{ COMPONENT, MIXIN, PAGE })
 public @interface PageDetached
 {
 

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageLoaded.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageLoaded.java?rev=992509&r1=992508&r2=992509&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageLoaded.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/annotations/PageLoaded.java
 Fri Sep  3 23:42:23 2010
@@ -1,4 +1,4 @@
-// Copyright 2007, 2009 The Apache Software Foundation
+// Copyright 2007, 2009, 2010 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use tis file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.apache.tapestry5.ioc.annotati
 
 /**
  * Method annotation used for methods that should be invoked once the page is 
fully loaded. This is useful for one-time
- * component initializations that can't be done at instantance initialzation 
time, such as refrerences to embedded
+ * component initializations that can't be done at instance initialization 
time, such as references to embedded
  * components or blocks.
  * <p/>
  * PageLoaded methods should take no parameters and return void. They must 
either have this annotation, or be named


Reply via email to