quintonm    2003/03/08 21:58:15

  Modified:    src/java/org/apache/turbine/util/template
                        TemplateLinkWithSlash.java
  Log:
  Renamed parameter of setPage(String) to template
  
  Revision  Changes    Path
  1.5       +5 -5      
jakarta-turbine-2/src/java/org/apache/turbine/util/template/TemplateLinkWithSlash.java
  
  Index: TemplateLinkWithSlash.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/template/TemplateLinkWithSlash.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TemplateLinkWithSlash.java        9 Mar 2003 02:54:14 -0000       1.4
  +++ TemplateLinkWithSlash.java        9 Mar 2003 05:58:15 -0000       1.5
  @@ -61,7 +61,7 @@
    * using '/' slash as opposed to the ',' used in TemplateLink.
    * It is less efficient as the '/' are converted to ',' to avoid
    * problems parsing the pathinfo after conversion in a web server.
  - *
  + * <p>
    * It is recommended that projects standardize on using the ','
    * separator and use TemplateLink.  But this class is available for
    * those who do not mind the inefficiency.
  @@ -95,12 +95,12 @@
        * Sets the template variable used by the Template Service.
        * This method allows slashes '/' as the path separator.
        *
  -     * @param t A String with the template name.
  +     * @param template A String with the template name.
        * @return A TemplateLink.
        */
  -    public TemplateLink setPage(String t)
  +    public TemplateLink setPage(String template)
       {
  -        super.setPage(t.replace('/', ','));
  +        super.setPage(template.replace('/', ','));
           return this;
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to