You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2008/03/02 18:21:32 UTC

svn commit: r632791 [4/8] - in /tapestry/tapestry5/trunk: tapestry-core/src/main/java/org/apache/tapestry/ tapestry-core/src/main/java/org/apache/tapestry/annotations/ tapestry-core/src/main/java/org/apache/tapestry/corelib/components/ tapestry-core/sr...

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHubImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHubImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHubImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHubImpl.java Sun Mar  2 09:21:16 2008
@@ -20,8 +20,8 @@
 import java.util.List;
 
 /**
- * Base implementation class for classes (especially services) that need to manage a list of
- * {@link org.apache.tapestry.internal.events.InvalidationListener}s.
+ * Base implementation class for classes (especially services) that need to manage a list of {@link
+ * org.apache.tapestry.internal.events.InvalidationListener}s.
  */
 public class InvalidationEventHubImpl implements InvalidationEventHub
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/InvalidationListener.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/InvalidationListener.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/InvalidationListener.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/InvalidationListener.java Sun Mar  2 09:21:16 2008
@@ -1,22 +1,22 @@
-// Copyright 2006, 2007 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006, 2007 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.events;
 
 /**
- * Interface for objects that may cache information that can be invalidated. Invalidation occurs
- * when external files, from which in-memory data is cached, is determined to have changed.
+ * Interface for objects that may cache information that can be invalidated. Invalidation occurs when external files,
+ * from which in-memory data is cached, is determined to have changed.
  */
 public interface InvalidationListener
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/UpdateListener.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/UpdateListener.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/UpdateListener.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/UpdateListener.java Sun Mar  2 09:21:16 2008
@@ -20,8 +20,7 @@
 public interface UpdateListener
 {
     /**
-     * Invoked to force the receiver to check for updates to whatever underlying resources it makes
-     * use of.
+     * Invoked to force the receiver to check for updates to whatever underlying resources it makes use of.
      */
     void checkForUpdates();
 }

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/AttributeToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/AttributeToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/AttributeToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/AttributeToken.java Sun Mar  2 09:21:16 2008
@@ -53,8 +53,7 @@
     }
 
     /**
-     * Returns the namespace URI containing the attribute, or the empty string
-     * for the default namespace.
+     * Returns the namespace URI containing the attribute, or the empty string for the default namespace.
      */
     public String getNamespaceURI()
     {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/BlockToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/BlockToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/BlockToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/BlockToken.java Sun Mar  2 09:21:16 2008
@@ -17,8 +17,7 @@
 import org.apache.tapestry.ioc.Location;
 
 /**
- * A block, used to enclose a chunk of template (including components) and control when or if the
- * content is rendered.
+ * A block, used to enclose a chunk of template (including components) and control when or if the content is rendered.
  */
 public class BlockToken extends TemplateToken
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/CDATAToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/CDATAToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/CDATAToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/CDATAToken.java Sun Mar  2 09:21:16 2008
@@ -1,24 +1,23 @@
-// Copyright 2006 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.parser;
 
 import org.apache.tapestry.ioc.Location;
 
 /**
- * Literal text that was enclosed within a !CDATA in the input template (so we should do the same
- * during output).
+ * Literal text that was enclosed within a !CDATA in the input template (so we should do the same during output).
  */
 public class CDATAToken extends TemplateToken
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ComponentTemplate.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ComponentTemplate.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ComponentTemplate.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ComponentTemplate.java Sun Mar  2 09:21:16 2008
@@ -35,14 +35,13 @@
     Resource getResource();
 
     /**
-     * Returns a list of tokens that were parsed from the template. The caller should not modify
-     * this list.
+     * Returns a list of tokens that were parsed from the template. The caller should not modify this list.
      */
     List<TemplateToken> getTokens();
 
     /**
-     * Returns a set of strings corresponding to {@link StartComponentToken}s within the template
-     * that have a non-blank id attribute.
+     * Returns a set of strings corresponding to {@link StartComponentToken}s within the template that have a non-blank
+     * id attribute.
      */
     Set<String> getComponentIds();
 }

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DTDToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DTDToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DTDToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DTDToken.java Sun Mar  2 09:21:16 2008
@@ -17,10 +17,9 @@
 import org.apache.tapestry.ioc.Location;
 
 /**
- * Represents the presence of a Document Type declaration within a template. The Document type
- * declaration will be output to the client. In the event that multiple declarations are encountered
- * (a page and one or more nested components all declare a document type), the first document type
- * declared will be used.
+ * Represents the presence of a Document Type declaration within a template. The Document type declaration will be
+ * output to the client. In the event that multiple declarations are encountered (a page and one or more nested
+ * components all declare a document type), the first document type declared will be used.
  */
 public class DTDToken extends TemplateToken
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DefineNamespacePrefixToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DefineNamespacePrefixToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DefineNamespacePrefixToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DefineNamespacePrefixToken.java Sun Mar  2 09:21:16 2008
@@ -17,11 +17,10 @@
 import org.apache.tapestry.ioc.Location;
 
 /**
- * A token from a template that defines a namespace prefix. This will always follow
- * a {@link org.apache.tapestry.internal.parser.StartComponentToken} or
- * {@link org.apache.tapestry.internal.parser.StartElementToken} (and come before
- * {@link org.apache.tapestry.internal.parser.AttributeToken}) and applies to the
- * component or element.
+ * A token from a template that defines a namespace prefix. This will always follow a {@link
+ * org.apache.tapestry.internal.parser.StartComponentToken} or {@link org.apache.tapestry.internal.parser.StartElementToken}
+ * (and come before {@link org.apache.tapestry.internal.parser.AttributeToken}) and applies to the component or
+ * element.
  *
  * @see org.apache.tapestry.dom.Element#defineNamespace(String, String)
  */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ExpansionToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ExpansionToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ExpansionToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ExpansionToken.java Sun Mar  2 09:21:16 2008
@@ -1,25 +1,25 @@
-// Copyright 2006 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.parser;
 
 import org.apache.tapestry.ioc.Location;
 
 /**
- * A token containing an expression expansion from the template. Expression expansions look like Ant
- * variables, i.e., "${xyz}", where xyz is a binding expression. It may have a prefix or not
- * ("prop:" will be the default prefix if not specified).
+ * A token containing an expression expansion from the template. Expression expansions look like Ant variables, i.e.,
+ * "${xyz}", where xyz is a binding expression. It may have a prefix or not ("prop:" will be the default prefix if not
+ * specified).
  */
 public class ExpansionToken extends TemplateToken
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartComponentToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartComponentToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartComponentToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartComponentToken.java Sun Mar  2 09:21:16 2008
@@ -17,10 +17,9 @@
 import org.apache.tapestry.ioc.Location;
 
 /**
- * The start element of a component within the template. Will be followed by a series of
- * {@link org.apache.tapestry.internal.parser.AttributeToken}s for any attributes (outside of id
- * and type), and eventually will be balanced by an
- * {@link org.apache.tapestry.internal.parser.EndElementToken}.
+ * The start element of a component within the template. Will be followed by a series of {@link
+ * org.apache.tapestry.internal.parser.AttributeToken}s for any attributes (outside of id and type), and eventually will
+ * be balanced by an {@link org.apache.tapestry.internal.parser.EndElementToken}.
  */
 public class StartComponentToken extends TemplateToken
 {
@@ -33,11 +32,10 @@
     private final String _mixins;
 
     /**
-     * @param elementName the name of the element from which this component was parsed, or null if the
-     *                    element was the t:comp placeholder
+     * @param elementName the name of the element from which this component was parsed, or null if the element was the
+     *                    t:comp placeholder
      * @param id          the id of the component (may be null for anonymous components)
-     * @param type        the type of component (may be null if the component type is specified outside the
-     *                    template)
+     * @param type        the type of component (may be null if the component type is specified outside the template)
      * @param mixins      a comma-separated list of mixins (possibly null)
      * @param location    the location within the template at which the element was parsed
      */
@@ -55,9 +53,9 @@
     }
 
     /**
-     * Returns the element for this component. When using the &lt;t:comp&gt; placeholder, this value
-     * will be null. When using "invisible instrumentation", where t:id or t:type attributes are
-     * added to existing elements, this is the local name of the element so attached.
+     * Returns the element for this component. When using the &lt;t:comp&gt; placeholder, this value will be null. When
+     * using "invisible instrumentation", where t:id or t:type attributes are added to existing elements, this is the
+     * local name of the element so attached.
      *
      * @return the element name or null
      */
@@ -67,8 +65,8 @@
     }
 
     /**
-     * Returns a non-blank id if one was provided in the template. If the id attribute was missing
-     * (or the value was blank), returns null.
+     * Returns a non-blank id if one was provided in the template. If the id attribute was missing (or the value was
+     * blank), returns null.
      */
     public String getId()
     {
@@ -76,8 +74,8 @@
     }
 
     /**
-     * Returns a non-blank component type if one was provided in the template. If the type attribute
-     * was missing (or the value was blank), returns null.
+     * Returns a non-blank component type if one was provided in the template. If the type attribute was missing (or the
+     * value was blank), returns null.
      */
     public String getComponentType()
     {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartElementToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartElementToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartElementToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartElementToken.java Sun Mar  2 09:21:16 2008
@@ -17,13 +17,11 @@
 import org.apache.tapestry.ioc.Location;
 
 /**
- * The start of an ordinary element within the template (as opposed to
- * {@link org.apache.tapestry.internal.parser.StartComponentToken}, which represents an active
- * Tapestry token. A start element token may be immediately followed by
- * {@link org.apache.tapestry.internal.parser.AttributeToken}s that represents the attributes
- * associated with the element. A start element token will always be balanced by a
- * {@link org.apache.tapestry.internal.parser.EndElementToken} (though there will likely be some
- * amount of intermediate tokens).
+ * The start of an ordinary element within the template (as opposed to {@link org.apache.tapestry.internal.parser.StartComponentToken},
+ * which represents an active Tapestry token. A start element token may be immediately followed by {@link
+ * org.apache.tapestry.internal.parser.AttributeToken}s that represents the attributes associated with the element. A
+ * start element token will always be balanced by a {@link org.apache.tapestry.internal.parser.EndElementToken} (though
+ * there will likely be some amount of intermediate tokens).
  */
 public class StartElementToken extends TemplateToken
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TemplateToken.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TemplateToken.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TemplateToken.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TemplateToken.java Sun Mar  2 09:21:16 2008
@@ -1,25 +1,25 @@
-// Copyright 2006 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.parser;
 
 import org.apache.tapestry.ioc.BaseLocatable;
 import org.apache.tapestry.ioc.Location;
 
 /**
- * Base class for tokens parsed out of a template. The set of classes rooted here are effectively
- * object encapsulations of the events generated by a SAX parser.
+ * Base class for tokens parsed out of a template. The set of classes rooted here are effectively object encapsulations
+ * of the events generated by a SAX parser.
  */
 public abstract class TemplateToken extends BaseLocatable
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TokenType.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TokenType.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TokenType.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TokenType.java Sun Mar  2 09:21:16 2008
@@ -15,8 +15,8 @@
 package org.apache.tapestry.internal.parser;
 
 /**
- * Defines the different types of {@link org.apache.tapestry.internal.parser.TemplateToken}s. Each
- * value maps to a particular subclass of TemplateToken.
+ * Defines the different types of {@link org.apache.tapestry.internal.parser.TemplateToken}s. Each value maps to a
+ * particular subclass of TemplateToken.
  */
 public enum TokenType
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AjaxPartialResponseRenderer.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AjaxPartialResponseRenderer.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AjaxPartialResponseRenderer.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AjaxPartialResponseRenderer.java Sun Mar  2 09:21:16 2008
@@ -27,8 +27,8 @@
 public interface AjaxPartialResponseRenderer
 {
     /**
-     * Used to render a partial response as part of an Ajax action request. A call
-     * to {@link org.apache.tapestry.internal.services.PageRenderQueue#initializeForPartialPageRender(org.apache.tapestry.runtime.RenderCommand)}
+     * Used to render a partial response as part of an Ajax action request. A call to {@link
+     * org.apache.tapestry.internal.services.PageRenderQueue#initializeForPartialPageRender(org.apache.tapestry.runtime.RenderCommand)}
      * should precede this call.
      */
     void renderPartialPageMarkup() throws IOException;

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ApplicationStatePersistenceStrategySourceImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ApplicationStatePersistenceStrategySourceImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ApplicationStatePersistenceStrategySourceImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ApplicationStatePersistenceStrategySourceImpl.java Sun Mar  2 09:21:16 2008
@@ -20,7 +20,7 @@
 import java.util.Map;
 
 public class ApplicationStatePersistenceStrategySourceImpl implements
-                                                           ApplicationStatePersistenceStrategySource
+        ApplicationStatePersistenceStrategySource
 {
     private final Map<String, ApplicationStatePersistenceStrategy> _configuration;
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetDispatcher.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetDispatcher.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetDispatcher.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetDispatcher.java Sun Mar  2 09:21:16 2008
@@ -27,8 +27,8 @@
 import java.net.URL;
 
 /**
- * Recognizes requests where the path begins with "/asset/" and delivers the content therein as a
- * bytestream. Also handles requests that are simply polling for a change to the file.
+ * Recognizes requests where the path begins with "/asset/" and delivers the content therein as a bytestream. Also
+ * handles requests that are simply polling for a change to the file.
  *
  * @see ResourceStreamer
  * @see ClasspathAssetAliasManager
@@ -110,8 +110,8 @@
     /**
      * @param response     used to send errors back to the client
      * @param resourcePath the path to the requested resource, from the request
-     * @return the resource for the path, with the digest stripped out of the URL, or null if the
-     *         digest is invalid (and an error has been sent back to the client)
+     * @return the resource for the path, with the digest stripped out of the URL, or null if the digest is invalid (and
+     *         an error has been sent back to the client)
      * @throws IOException
      */
     private Resource findResourceAndValidateDigest(Response response, String resourcePath) throws IOException

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetInjectionProvider.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetInjectionProvider.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetInjectionProvider.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetInjectionProvider.java Sun Mar  2 09:21:16 2008
@@ -26,8 +26,8 @@
 import static java.lang.String.format;
 
 /**
- * Performs injection of assets, based on the presence of the {@link Path} annotation. This is more
- * useful than the general {@link AssetObjectProvider}, becase relative assets are supported.
+ * Performs injection of assets, based on the presence of the {@link Path} annotation. This is more useful than the
+ * general {@link AssetObjectProvider}, becase relative assets are supported.
  */
 public class AssetInjectionProvider implements InjectionProvider
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetObjectProvider.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetObjectProvider.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetObjectProvider.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetObjectProvider.java Sun Mar  2 09:21:16 2008
@@ -26,8 +26,8 @@
 import org.apache.tapestry.services.Core;
 
 /**
- * Exposes assets (in the current locale). The Inject annotation must be supplemented by a
- * {@link Path} annotation, to identify what asset to be injected.
+ * Exposes assets (in the current locale). The Inject annotation must be supplemented by a {@link Path} annotation, to
+ * identify what asset to be injected.
  */
 public class AssetObjectProvider implements ObjectProvider
 {
@@ -49,8 +49,8 @@
     }
 
     /**
-     * Provides the asset. If the expression does not identify an asset domain, with a prefix, it is
-     * assumed to be a path on the classpath, relative to the root of the classpath.
+     * Provides the asset. If the expression does not identify an asset domain, with a prefix, it is assumed to be a
+     * path on the classpath, relative to the root of the classpath.
      *
      * @param objectType the type of object (which must be Object or Asset)
      * @param locator    not used

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BindingSourceImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BindingSourceImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BindingSourceImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BindingSourceImpl.java Sun Mar  2 09:21:16 2008
@@ -19,8 +19,8 @@
 import org.apache.tapestry.ioc.Location;
 import static org.apache.tapestry.ioc.internal.util.Defense.notBlank;
 import static org.apache.tapestry.ioc.internal.util.Defense.notNull;
-import org.apache.tapestry.ioc.internal.util.TapestryException;
 import org.apache.tapestry.ioc.internal.util.InternalUtils;
+import org.apache.tapestry.ioc.internal.util.TapestryException;
 import org.apache.tapestry.services.BindingFactory;
 import org.apache.tapestry.services.BindingSource;
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BlockInjectionProvider.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BlockInjectionProvider.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BlockInjectionProvider.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BlockInjectionProvider.java Sun Mar  2 09:21:16 2008
@@ -25,12 +25,12 @@
 import org.apache.tapestry.services.TransformConstants;
 
 /**
- * Identifies fields of type {@link Block} that have the {@link Inject} annotation and converts them
- * into read-only fields containing the injected Block from the template. The annotation's value is
- * the id of the block to inject; if omitted, the block id is deduced from the field id.
+ * Identifies fields of type {@link Block} that have the {@link Inject} annotation and converts them into read-only
+ * fields containing the injected Block from the template. The annotation's value is the id of the block to inject; if
+ * omitted, the block id is deduced from the field id.
  * <p/>
- * Must be scheduled before {@link DefaultInjectionProvider} because it uses the same annotation,
- * Inject, with a different interpretation.
+ * Must be scheduled before {@link DefaultInjectionProvider} because it uses the same annotation, Inject, with a
+ * different interpretation.
  */
 public class BlockInjectionProvider implements InjectionProvider
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClasspathAssetAliasManagerImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClasspathAssetAliasManagerImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClasspathAssetAliasManagerImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClasspathAssetAliasManagerImpl.java Sun Mar  2 09:21:16 2008
@@ -46,8 +46,8 @@
     private final List<String> _sortedPathPrefixes;
 
     /**
-     * Configuration is a map of aliases (short names) to complete names. Keys and values should end
-     * with a slash, but one will be provided as necessary, so don't both.
+     * Configuration is a map of aliases (short names) to complete names. Keys and values should end with a slash, but
+     * one will be provided as necessary, so don't both.
      */
     public ClasspathAssetAliasManagerImpl(Request request,
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientBehaviorSupport.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientBehaviorSupport.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientBehaviorSupport.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientBehaviorSupport.java Sun Mar  2 09:21:16 2008
@@ -51,8 +51,8 @@
      * visible or invisible, which involves interactions with both the server-side and client-side validation.
      *
      * @param clientId         client-side id of the element that will be made visible or invisible
-     * @param showFunctionName name of function (of the Tapestry.ElementEffect object) used to make the SubForm visible, or
-     *                         null for the default
+     * @param showFunctionName name of function (of the Tapestry.ElementEffect object) used to make the SubForm visible,
+     *                         or null for the default
      * @param hideFunctionName name of the function used to make the SubForm invisible, or null for the default
      */
     void addFormFragment(String clientId, String showFunctionName, String hideFunctionName);

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientPersistentFieldStorage.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientPersistentFieldStorage.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientPersistentFieldStorage.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientPersistentFieldStorage.java Sun Mar  2 09:21:16 2008
@@ -19,8 +19,8 @@
 import org.apache.tapestry.services.PersistentFieldStrategy;
 
 /**
- * Describes an object that can store {@link PersistentFieldChange}s, and manage a query parameter
- * stored into a {@link Link} to maining this data across requests.
+ * Describes an object that can store {@link PersistentFieldChange}s, and manage a query parameter stored into a {@link
+ * Link} to maining this data across requests.
  */
 public interface ClientPersistentFieldStorage extends PersistentFieldStrategy
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentClassTransformerImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentClassTransformerImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentClassTransformerImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentClassTransformerImpl.java Sun Mar  2 09:21:16 2008
@@ -52,10 +52,10 @@
 
     private final ClassFactory _classFactory;
 
-    private final String[] SUBPACKAGES = {"." + InternalConstants.PAGES_SUBPACKAGE + ".",
-                                          "." + InternalConstants.COMPONENTS_SUBPACKAGE + ".",
-                                          "." + InternalConstants.MIXINS_SUBPACKAGE + ".",
-                                          "." + InternalConstants.BASE_SUBPACKAGE + "."};
+    private final String[] SUBPACKAGES = { "." + InternalConstants.PAGES_SUBPACKAGE + ".",
+            "." + InternalConstants.COMPONENTS_SUBPACKAGE + ".",
+            "." + InternalConstants.MIXINS_SUBPACKAGE + ".",
+            "." + InternalConstants.BASE_SUBPACKAGE + "." };
 
     /**
      * @param workerChain the ordered list of class transform works as a chain of command instance

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInstantiatorSource.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInstantiatorSource.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInstantiatorSource.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInstantiatorSource.java Sun Mar  2 09:21:16 2008
@@ -18,25 +18,24 @@
 import org.apache.tapestry.ioc.services.ClassFactory;
 
 /**
- * Creates {@link org.apache.tapestry.internal.services.Instantiator}s for components, based on
- * component class name. This will involve transforming the component's class before it is loaded.
+ * Creates {@link org.apache.tapestry.internal.services.Instantiator}s for components, based on component class name.
+ * This will involve transforming the component's class before it is loaded.
  * <p/>
- * In addition, a source acts as an event hub for
- * {@link org.apache.tapestry.internal.events.InvalidationListener}s, so that any information derived from
- * loaded classes can be discarded and rebuilt when classes change.
+ * In addition, a source acts as an event hub for {@link org.apache.tapestry.internal.events.InvalidationListener}s, so
+ * that any information derived from loaded classes can be discarded and rebuilt when classes change.
  * <p/>
- * The strategy used is that when <em>any</em> class (in a controlled package) changes, the entire
- * class loader is discarded, along with any instances derived from those classes. A new class
- * loader is created, and then invalidation events are fired to listeners.
+ * The strategy used is that when <em>any</em> class (in a controlled package) changes, the entire class loader is
+ * discarded, along with any instances derived from those classes. A new class loader is created, and then invalidation
+ * events are fired to listeners.
  */
 public interface ComponentInstantiatorSource extends InvalidationEventHub
 {
 
     /**
-     * Given the name of a component class, provides an instantiator for that component.
-     * Instantiators are cached, so repeated calls to this method with the same class name will
-     * return the same instance; however, callers should also be aware that the instantiators may
-     * lose validity after an invalidation (caused by changes to external Java class files).
+     * Given the name of a component class, provides an instantiator for that component. Instantiators are cached, so
+     * repeated calls to this method with the same class name will return the same instance; however, callers should
+     * also be aware that the instantiators may lose validity after an invalidation (caused by changes to external Java
+     * class files).
      *
      * @param classname FQCN to find (and perhaps transform and load)
      * @return an object which can instantiate an instance of the component
@@ -44,8 +43,7 @@
     Instantiator findInstantiator(String classname);
 
     /**
-     * Adds a controlled package. Only classes within controlled packages are subject to
-     * transformation.
+     * Adds a controlled package. Only classes within controlled packages are subject to transformation.
      *
      * @param packageName the package name to add (must not be blank)
      */
@@ -60,8 +58,8 @@
     boolean exists(String className);
 
     /**
-     * Returns a class factory that can be used to generate additional classes around enhanced
-     * classes, or create subclasses of enhanced classes.
+     * Returns a class factory that can be used to generate additional classes around enhanced classes, or create
+     * subclasses of enhanced classes.
      */
     ClassFactory getClassFactory();
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocation.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocation.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocation.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocation.java Sun Mar  2 09:21:16 2008
@@ -19,9 +19,9 @@
 public interface ComponentInvocation
 {
     /**
-     * @return A path taking the format <em>target-path</em>/e1/e2?&q1=v1&q2=v2. where the
-     *         <em>target-path</em> is the path provided by the invocation target; e1 and e2 are
-     *         elements of the context; q1 and q2 are the parameters.
+     * @return A path taking the format <em>target-path</em>/e1/e2?&q1=v1&q2=v2. where the <em>target-path</em> is the
+     *         path provided by the invocation target; e1 and e2 are elements of the context; q1 and q2 are the
+     *         parameters.
      */
     String buildURI(boolean isForm);
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocationMap.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocationMap.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocationMap.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocationMap.java Sun Mar  2 09:21:16 2008
@@ -21,15 +21,13 @@
 import org.apache.tapestry.test.PageTester;
 
 /**
- * Used by the {@link PageTester} to map {@link Element}s (pulled from the rendered
- * {@link Document}) into {@link ComponentInvocation}s, that can be used to to trigger further
- * (simulated) requests. In this way, a unit test can have the
- * {@link PageTester#clickLink(Element) click a link} or
- * {@link PageTester#submitForm(Element, java.util.Map) submit a form}.
+ * Used by the {@link PageTester} to map {@link Element}s (pulled from the rendered {@link Document}) into {@link
+ * ComponentInvocation}s, that can be used to to trigger further (simulated) requests. In this way, a unit test can have
+ * the {@link PageTester#clickLink(Element) click a link} or {@link PageTester#submitForm(Element, java.util.Map) submit
+ * a form}.
  * <p/>
- * The information needed is generated in slightly disparate places, so the {@link LinkFactory}
- * tells the map about Links and ComponentInvocations, and the {@link MarkupWriter} will link
- * Elements to Link instance.
+ * The information needed is generated in slightly disparate places, so the {@link LinkFactory} tells the map about
+ * Links and ComponentInvocations, and the {@link MarkupWriter} will link Elements to Link instance.
  */
 public interface ComponentInvocationMap
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentResourcesOperation.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentResourcesOperation.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentResourcesOperation.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentResourcesOperation.java Sun Mar  2 09:21:16 2008
@@ -19,8 +19,10 @@
 /**
  * A kind of callback that can easily be injected into a transformed class to perform complex work.
  * <p/>
- * These callbacks are often injected into a transformed component class via {@link org.apache.tapestry.services.ClassTransformation#addInjectedField(Class, String, Object)}. Bear in mind
- * that such callbacks must be <em>threadsafe</em>, since every instance of such a class will share a single instance of the operation.
+ * These callbacks are often injected into a transformed component class via {@link
+ * org.apache.tapestry.services.ClassTransformation#addInjectedField(Class, String, Object)}. Bear in mind that such
+ * callbacks must be <em>threadsafe</em>, since every instance of such a class will share a single instance of the
+ * operation.
  */
 public interface ComponentResourcesOperation
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentTemplateSource.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentTemplateSource.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentTemplateSource.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentTemplateSource.java Sun Mar  2 09:21:16 2008
@@ -21,23 +21,21 @@
 import java.util.Locale;
 
 /**
- * Provides access to cached {@link org.apache.tapestry.internal.parser.ComponentTemplate}s. The
- * source acts as a invalidation event hub, and will broadcast invalidation events when any loaded
- * template resource changes. The listener for these invalidation events is the page source, which
- * stores cached page instances.
+ * Provides access to cached {@link org.apache.tapestry.internal.parser.ComponentTemplate}s. The source acts as a
+ * invalidation event hub, and will broadcast invalidation events when any loaded template resource changes. The
+ * listener for these invalidation events is the page source, which stores cached page instances.
  * <p/>
- * Any search for a template will end with success (a non-null template), but the template returned
- * may be the {@link ComponentTemplate#isMissing() missing template}.
+ * Any search for a template will end with success (a non-null template), but the template returned may be the {@link
+ * ComponentTemplate#isMissing() missing template}.
  * <p/>
  * TODO: A more sophisticated, finer grained dependency manager.
  */
 public interface ComponentTemplateSource extends InvalidationEventHub
 {
     /**
-     * Provides access to a template. The template will be parsed as necessary. If no template for
-     * the exact component is found, then the template for the component's parent is returned. In
-     * this way, it is possible for a component to extend the behavior of its super-class without
-     * duplicating the super-class component's template.
+     * Provides access to a template. The template will be parsed as necessary. If no template for the exact component
+     * is found, then the template for the component's parent is returned. In this way, it is possible for a component
+     * to extend the behavior of its super-class without duplicating the super-class component's template.
      * <p/>
      * In some cases, the empty template will be returned.
      *

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultDataTypeAnalyzer.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultDataTypeAnalyzer.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultDataTypeAnalyzer.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultDataTypeAnalyzer.java Sun Mar  2 09:21:16 2008
@@ -22,9 +22,9 @@
 import java.util.Map;
 
 /**
- * The default data type analyzer, which is based entirely on the type of the property (and not on
- * annotations or naming conventions). This is based on a configuration of property type class to
- * string provided as an IoC service configuration.
+ * The default data type analyzer, which is based entirely on the type of the property (and not on annotations or naming
+ * conventions). This is based on a configuration of property type class to string provided as an IoC service
+ * configuration.
  */
 public class DefaultDataTypeAnalyzer implements DataTypeAnalyzer, InvalidationListener
 {
@@ -36,9 +36,8 @@
     }
 
     /**
-     * Clears the registry on an invalidation event (this is because the registry caches results,
-     * and the keys are classes that may be component classes from the invalidated component class
-     * loader).
+     * Clears the registry on an invalidation event (this is because the registry caches results, and the keys are
+     * classes that may be component classes from the invalidated component class loader).
      */
     public void objectWasInvalidated()
     {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultInjectionProvider.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultInjectionProvider.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultInjectionProvider.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultInjectionProvider.java Sun Mar  2 09:21:16 2008
@@ -24,10 +24,10 @@
 import java.lang.annotation.Annotation;
 
 /**
- * Worker for the {@link org.apache.tapestry.ioc.annotations.Inject} annotation that delegates out to
- * the master {@link org.apache.tapestry.ioc.services.MasterObjectProvider} to access the value. This worker must be scheduled after
- * certain other workers, such as {@link BlockInjectionProvider} (which is keyed off a combination of
- * type and the Inject annotation).
+ * Worker for the {@link org.apache.tapestry.ioc.annotations.Inject} annotation that delegates out to the master {@link
+ * org.apache.tapestry.ioc.services.MasterObjectProvider} to access the value. This worker must be scheduled after
+ * certain other workers, such as {@link BlockInjectionProvider} (which is keyed off a combination of type and the
+ * Inject annotation).
  *
  * @see org.apache.tapestry.ioc.services.MasterObjectProvider
  */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DocumentHeadBuilder.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DocumentHeadBuilder.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DocumentHeadBuilder.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DocumentHeadBuilder.java Sun Mar  2 09:21:16 2008
@@ -17,8 +17,7 @@
 import org.apache.tapestry.dom.Document;
 
 /**
- * Responsible for injecting script and style links into the &lt;head&gt; element of the rendered
- * HTML document.
+ * Responsible for injecting script and style links into the &lt;head&gt; element of the rendered HTML document.
  */
 public interface DocumentHeadBuilder
 {
@@ -36,16 +35,16 @@
     void addStylesheetLink(String styleURL, String media);
 
     /**
-     * Adds JavaScript code. The code is collected into a single block that is injected just before
-     * the close body tag of the page.
+     * Adds JavaScript code. The code is collected into a single block that is injected just before the close body tag
+     * of the page.
      *
      * @param script statement to add to the block (a newline will be appended as well)
      */
     void addScript(String script);
 
     /**
-     * Updates the supplied Document, locating the html/body element and adding script links (to the
-     * top) and a script block (to the end).
+     * Updates the supplied Document, locating the html/body element and adding script links (to the top) and a script
+     * block (to the end).
      *
      * @param document to be updated
      */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/EnvironmentalShadowBuilderImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/EnvironmentalShadowBuilderImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/EnvironmentalShadowBuilderImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/EnvironmentalShadowBuilderImpl.java Sun Mar  2 09:21:16 2008
@@ -69,7 +69,7 @@
         classFab.addField("_environment", Environment.class);
         classFab.addField("_serviceType", Class.class);
 
-        classFab.addConstructor(new Class[]{Environment.class, Class.class}, null,
+        classFab.addConstructor(new Class[] { Environment.class, Class.class }, null,
                                 "{ _environment = $1; _serviceType = $2; }");
 
         classFab.addMethod(Modifier.PRIVATE, new MethodSignature(serviceType, "_delegate", null, null),

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FieldValidationSupportImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FieldValidationSupportImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FieldValidationSupportImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FieldValidationSupportImpl.java Sun Mar  2 09:21:16 2008
@@ -40,7 +40,7 @@
         _typeCoercer = typeCoercer;
     }
 
-    @SuppressWarnings({"unchecked"})
+    @SuppressWarnings({ "unchecked" })
     public String toClient(Object value, ComponentResources componentResources, Translator translator,
                            NullFieldStrategy nullFieldStrategy)
     {
@@ -66,7 +66,7 @@
             }
         };
 
-        componentResources.triggerEvent(TO_CLIENT_EVENT, new Object[]{value}, callback);
+        componentResources.triggerEvent(TO_CLIENT_EVENT, new Object[] { value }, callback);
 
         if (resultHolder.hasValue()) return resultHolder.get();
 
@@ -120,7 +120,7 @@
 
         try
         {
-            componentResources.triggerEvent(PARSE_CLIENT_EVENT, new Object[]{effectiveValue}, callback);
+            componentResources.triggerEvent(PARSE_CLIENT_EVENT, new Object[] { effectiveValue }, callback);
         }
         catch (RuntimeException ex)
         {
@@ -137,8 +137,8 @@
     }
 
     /**
-     * Checks for a {@link org.apache.tapestry.ValidationException} inside the outer exception and
-     * throws that, otherwise rethrows the runtime exception.
+     * Checks for a {@link org.apache.tapestry.ValidationException} inside the outer exception and throws that,
+     * otherwise rethrows the runtime exception.
      *
      * @param outerException initially caught exception
      * @throws ValidationException if found
@@ -152,7 +152,7 @@
         throw outerException;
     }
 
-    @SuppressWarnings({"unchecked"})
+    @SuppressWarnings({ "unchecked" })
     public void validate(Object value, ComponentResources componentResources, FieldValidator validator)
             throws ValidationException
     {
@@ -163,7 +163,7 @@
 
         try
         {
-            componentResources.triggerEvent(VALIDATE_EVENT, new Object[]{value}, null);
+            componentResources.triggerEvent(VALIDATE_EVENT, new Object[] { value }, null);
         }
         catch (RuntimeException ex)
         {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FlashPersistentFieldStrategy.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FlashPersistentFieldStrategy.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FlashPersistentFieldStrategy.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FlashPersistentFieldStrategy.java Sun Mar  2 09:21:16 2008
@@ -18,10 +18,9 @@
 import org.apache.tapestry.services.Session;
 
 /**
- * The "flash" strategy stores data inside the {@link Session session}, just like
- * {@link SessionPersistentFieldStrategy}, but also removes the values from the session on first
- * use. In this way, a short-term value (such as an error message) will "survive" from an action
- * request to a render request and then disappear.
+ * The "flash" strategy stores data inside the {@link Session session}, just like {@link
+ * SessionPersistentFieldStrategy}, but also removes the values from the session on first use. In this way, a short-term
+ * value (such as an error message) will "survive" from an action request to a render request and then disappear.
  */
 public class FlashPersistentFieldStrategy extends AbstractSessionPersistentFieldStrategy
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InheritedBinding.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InheritedBinding.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InheritedBinding.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InheritedBinding.java Sun Mar  2 09:21:16 2008
@@ -22,8 +22,8 @@
 import java.lang.annotation.Annotation;
 
 /**
- * Wraps another binding, adjusting the description of the binding and the location of the binding
- * (as reported in any thrown exceptions).
+ * Wraps another binding, adjusting the description of the binding and the location of the binding (as reported in any
+ * thrown exceptions).
  */
 public class InheritedBinding extends BaseLocatable implements Binding
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Instantiator.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Instantiator.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Instantiator.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Instantiator.java Sun Mar  2 09:21:16 2008
@@ -1,17 +1,17 @@
-// Copyright 2006 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.services;
 
 import org.apache.tapestry.internal.InternalComponentResources;
@@ -19,17 +19,15 @@
 import org.apache.tapestry.runtime.Component;
 
 /**
- * An object that can instantiate a component. This is used with transformed classes, in which the
- * normal no-arguments constructor has been replaced with a constructor with arguments; the
- * instantiator will retain the necessary arguments and pass them to the enhanced class'
- * constructor.
+ * An object that can instantiate a component. This is used with transformed classes, in which the normal no-arguments
+ * constructor has been replaced with a constructor with arguments; the instantiator will retain the necessary arguments
+ * and pass them to the enhanced class' constructor.
  */
 public interface Instantiator
 {
     /**
-     * Instantiates and returns a new instance of the desired class. Component classes are always
-     * modified so that they implement {@link Component} (and often, other interfaces as
-     * well).
+     * Instantiates and returns a new instance of the desired class. Component classes are always modified so that they
+     * implement {@link Component} (and often, other interfaces as well).
      */
     Component newInstance(InternalComponentResources resources);
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java Sun Mar  2 09:21:16 2008
@@ -120,8 +120,8 @@
      * Signature for newInstance() method of Instantiator.
      */
     private static final MethodSignature NEW_INSTANCE_SIGNATURE = new MethodSignature(Component.class, "newInstance",
-                                                                                      new Class[]{
-                                                                                              InternalComponentResources.class},
+                                                                                      new Class[] {
+                                                                                              InternalComponentResources.class },
                                                                                       null);
 
     /**
@@ -532,13 +532,20 @@
 
     public void addMethod(TransformMethodSignature signature, String methodBody)
     {
+        addOrReplaceMethod(signature, methodBody, true);
+    }
+
+    private void addOrReplaceMethod(TransformMethodSignature signature, String methodBody, boolean addAsNew)
+    {
         failIfFrozen();
 
         CtClass returnType = findCtClass(signature.getReturnType());
         CtClass[] parameters = buildCtClassList(signature.getParameterTypes());
         CtClass[] exceptions = buildCtClassList(signature.getExceptionTypes());
 
-        String action = "add";
+        String suffix = addAsNew ? "" : " transformed";
+
+        String action = "add" + suffix;
 
         try
         {
@@ -546,7 +553,7 @@
 
             if (existing != null)
             {
-                action = "replace";
+                action = "replace" + suffix;
 
                 _ctClass.removeMethod(existing);
             }
@@ -573,7 +580,7 @@
 
             _ctClass.addMethod(method);
 
-            _addedMethods.add(method);
+            if (addAsNew) _addedMethods.add(method);
         }
         catch (CannotCompileException ex)
         {
@@ -588,6 +595,11 @@
         addMethodToDescription(action, signature, methodBody);
     }
 
+    public void addTransformedMethod(TransformMethodSignature methodSignature, String methodBody)
+    {
+        addOrReplaceMethod(methodSignature, methodBody, false);
+    }
+
     private CtClass[] buildCtClassList(String[] typeNames)
     {
         CtClass[] result = new CtClass[typeNames.length];
@@ -650,6 +662,7 @@
         addMethodToDescription("extend existing", methodSignature, methodBody);
     }
 
+
     public void prefixMethod(TransformMethodSignature methodSignature, String methodBody)
     {
         failIfFrozen();
@@ -790,6 +803,18 @@
 
     public List<String> findFieldsWithAnnotation(final Class<? extends Annotation> annotationClass)
     {
+        return searchFieldsWithAnnotation(annotationClass, true);
+    }
+
+
+    public List<String> findAllFieldsWithAnnotation(Class<? extends Annotation> annotationClass)
+    {
+        return searchFieldsWithAnnotation(annotationClass, false);
+    }
+
+    private List<String> searchFieldsWithAnnotation(final Class<? extends Annotation> annotationClass,
+                                                    boolean skipClaimedFields)
+    {
         FieldFilter filter = new FieldFilter()
         {
             public boolean accept(String fieldName, String fieldType)
@@ -798,11 +823,16 @@
             }
         };
 
-        return findFields(filter);
+        return searchFieldsAndFilter(filter, skipClaimedFields);
     }
 
     public List<String> findFields(FieldFilter filter)
     {
+        return searchFieldsAndFilter(filter, true);
+    }
+
+    private List<String> searchFieldsAndFilter(FieldFilter filter, boolean skipClaimedFields)
+    {
         failIfFrozen();
 
         List<String> result = newList();
@@ -815,7 +845,7 @@
 
                 String fieldName = field.getName();
 
-                if (_claimedFields.containsKey(fieldName)) continue;
+                if (skipClaimedFields && _claimedFields.containsKey(fieldName)) continue;
 
                 if (filter.accept(fieldName, field.getType().getName())) result.add(fieldName);
 
@@ -1386,7 +1416,7 @@
         String fieldType = getFieldType(fieldName);
 
         TransformMethodSignature sig = new TransformMethodSignature(Modifier.PRIVATE, "void", methodName,
-                                                                    new String[]{fieldType}, null);
+                                                                    new String[] { fieldType }, null);
 
         String message = ServicesMessages.readOnlyField(_ctClass.getName(), fieldName);
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/JSONObjectEventResultProcessor.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/JSONObjectEventResultProcessor.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/JSONObjectEventResultProcessor.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/JSONObjectEventResultProcessor.java Sun Mar  2 09:21:16 2008
@@ -14,10 +14,10 @@
 
 package org.apache.tapestry.internal.services;
 
+import org.apache.tapestry.internal.InternalConstants;
 import org.apache.tapestry.json.JSONObject;
 import org.apache.tapestry.services.ComponentEventResultProcessor;
 import org.apache.tapestry.services.Response;
-import org.apache.tapestry.internal.InternalConstants;
 
 import java.io.IOException;
 import java.io.PrintWriter;

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactory.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactory.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactory.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactory.java Sun Mar  2 09:21:16 2008
@@ -25,28 +25,27 @@
 public interface LinkFactory
 {
     /**
-     * Creates a stateful action link. Action links are built for components. Action links are
-     * encoded by the current request (that is, bound to the current request's session, if any).
+     * Creates a stateful action link. Action links are built for components. Action links are encoded by the current
+     * request (that is, bound to the current request's session, if any).
      *
      * @param page
      * @param nestedId
      * @param eventType the type of event to trigger
      * @param forForm   true if the link is for a form, false otherwise
-     * @param context   Additional path data, each value will be converted to a string and appended to the
-     *                  URI @return a link
+     * @param context   Additional path data, each value will be converted to a string and appended to the URI @return a
+     *                  link
      * @see org.apache.tapestry.ComponentResources#createActionLink(String, boolean, Object[])
      */
     Link createActionLink(Page page, String nestedId, String eventType, boolean forForm, Object... context);
 
     /**
-     * Creates a render link for the page. If an activation context is supplied then that context is
-     * built into the URI. If no activation context is supplied, then the activation context is
-     * obtained from the page itself, by triggering a passivate event on its root component.
+     * Creates a render link for the page. If an activation context is supplied then that context is built into the URI.
+     * If no activation context is supplied, then the activation context is obtained from the page itself, by triggering
+     * a passivate event on its root component.
      * <p/>
-     * When the activationContext is an empty array, the targetted page is checked to see if it can
-     * provide an activation context. This is accomplished by triggering a "passivate" event on the
-     * targetted page. If the override parameter is true, this will not occur (even when the
-     * activation context is empty).
+     * When the activationContext is an empty array, the targetted page is checked to see if it can provide an
+     * activation context. This is accomplished by triggering a "passivate" event on the targetted page. If the override
+     * parameter is true, this will not occur (even when the activation context is empty).
      *
      * @param page              the page to which a link should be created
      * @param override          if true, then the provided activation context is always used even if empty
@@ -57,8 +56,8 @@
     Link createPageLink(Page page, boolean override, Object... activationContext);
 
     /**
-     * As with {@link #createPageLink(Page, boolean, Object[])}, but the page is specified by
-     * logical name, rather than as an instance.
+     * As with {@link #createPageLink(Page, boolean, Object[])}, but the page is specified by logical name, rather than
+     * as an instance.
      *
      * @param logicalPageName the logical name of the page to generate a link to
      * @param override        if true, then the provided activation context is always used even if empty
@@ -68,8 +67,8 @@
     Link createPageLink(String logicalPageName, boolean override, Object... context);
 
     /**
-     * Adds a listener, to be notified any time an action or render link is created; this allows the
-     * listener to modify the link (by adding additional query parameters to the link).
+     * Adds a listener, to be notified any time an action or render link is created; this allows the listener to modify
+     * the link (by adding additional query parameters to the link).
      *
      * @param listener to add
      */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactoryListener.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactoryListener.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactoryListener.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactoryListener.java Sun Mar  2 09:21:16 2008
@@ -22,18 +22,16 @@
 public interface LinkFactoryListener
 {
     /**
-     * Invoked when a page link (a link that renders a page) is created. The listener may decide to
-     * encode additional query parameters into the link (via
-     * {@link Link#addParameter(String, String)}).
+     * Invoked when a page link (a link that renders a page) is created. The listener may decide to encode additional
+     * query parameters into the link (via {@link Link#addParameter(String, String)}).
      *
      * @param link the newly created link
      */
     void createdPageLink(Link link);
 
     /**
-     * Invoked when an action link (a link that asks a component to perform an action) is created.
-     * The listener may decide to encode additional query parameters into the link (via
-     * {@link Link#addParameter(String, String)}).
+     * Invoked when an action link (a link that asks a component to perform an action) is created. The listener may
+     * decide to encode additional query parameters into the link (via {@link Link#addParameter(String, String)}).
      *
      * @param link the newly created link
      */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationFilter.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationFilter.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationFilter.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationFilter.java Sun Mar  2 09:21:16 2008
@@ -22,9 +22,8 @@
 import java.io.IOException;
 
 /**
- * Responsible for determining the locale for the current request. Currently, this is based on the
- * client's web browser. Later extensions will store the current locale as a cookie, or as a session
- * attribute.
+ * Responsible for determining the locale for the current request. Currently, this is based on the client's web browser.
+ * Later extensions will store the current locale as a cookie, or as a session attribute.
  */
 public class LocalizationFilter implements RequestFilter
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetter.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetter.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetter.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetter.java Sun Mar  2 09:21:16 2008
@@ -17,8 +17,8 @@
 import java.util.Locale;
 
 /**
- * Sets the thread's locale given a desired locale. Note that the desired locale is just a hint. It
- * wil try to honor it but there is no guarantee that it will be used as is.
+ * Sets the thread's locale given a desired locale. Note that the desired locale is just a hint. It wil try to honor it
+ * but there is no guarantee that it will be used as is.
  */
 public interface LocalizationSetter
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetterImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetterImpl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetterImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetterImpl.java Sun Mar  2 09:21:16 2008
@@ -26,8 +26,8 @@
 import java.util.Set;
 
 /**
- * Given a set of supported locales, for a specified desired locale, sets the current thread's
- * locale to a supported locale that is closest to the desired.
+ * Given a set of supported locales, for a specified desired locale, sets the current thread's locale to a supported
+ * locale that is closest to the desired.
  */
 public class LocalizationSetterImpl implements LocalizationSetter
 {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesBundle.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesBundle.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesBundle.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesBundle.java Sun Mar  2 09:21:16 2008
@@ -18,15 +18,15 @@
 import org.apache.tapestry.ioc.Resource;
 
 /**
- * Represents a bundle of properties files that can be used to collect properties that are
- * eventually used to form a {@link Messages}.
+ * Represents a bundle of properties files that can be used to collect properties that are eventually used to form a
+ * {@link Messages}.
  */
 public interface MessagesBundle
 {
 
     /**
-     * Returns an object used to identify this particular bundle; this should be a simple immutable
-     * value such as a String.
+     * Returns an object used to identify this particular bundle; this should be a simple immutable value such as a
+     * String.
      */
     Object getId();
 
@@ -36,8 +36,8 @@
     Resource getBaseResource();
 
     /**
-     * Returns a parent bundle for this bundle, or null if this bundle has no parent. Parent bundle
-     * provide properties that are overridden by child bundles.
+     * Returns a parent bundle for this bundle, or null if this bundle has no parent. Parent bundle provide properties
+     * that are overridden by child bundles.
      */
     MessagesBundle getParent();
 }

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesSource.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesSource.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesSource.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesSource.java Sun Mar  2 09:21:16 2008
@@ -23,13 +23,12 @@
 public interface MessagesSource extends InvalidationEventHub, UpdateListener
 {
     /**
-     * Used to obtain a {@link Messages} instance for a particular component, within a particular
-     * locale. If the component extends from another component, then its localized properties will
-     * merge with its parent's properties (with the subclass overriding the super class on any
-     * conflicts).
+     * Used to obtain a {@link Messages} instance for a particular component, within a particular locale. If the
+     * component extends from another component, then its localized properties will merge with its parent's properties
+     * (with the subclass overriding the super class on any conflicts).
      *
-     * @param bundle defines the set of properties files to read, as well as a series of parent bundles
-     *               to extend and override
+     * @param bundle defines the set of properties files to read, as well as a series of parent bundles to extend and
+     *               override
      * @param locale
      * @return the message catalog for the bundle, in the indicated locale
      */

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MethodCompileException.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MethodCompileException.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MethodCompileException.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MethodCompileException.java Sun Mar  2 09:21:16 2008
@@ -1,22 +1,22 @@
-// Copyright 2006 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
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 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
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package org.apache.tapestry.internal.services;
 
 /**
- * Exception thrown when a method body fails to compile; this will allow the method body to be
- * displayed to the user on the request failure page.
+ * Exception thrown when a method body fails to compile; this will allow the method body to be displayed to the user on
+ * the request failure page.
  */
 public class MethodCompileException extends RuntimeException
 {