dgraham     2003/12/07 09:34:51

  Modified:    src/share/org/apache/struts/taglib/html
                        JavascriptValidatorTag.java
  Log:
  Made HTML_* constants protected for PR# 24517.
  
  Revision  Changes    Path
  1.42      +14 -6     
jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
  
  Index: JavascriptValidatorTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- JavascriptValidatorTag.java       2 Dec 2003 05:06:34 -0000       1.41
  +++ JavascriptValidatorTag.java       7 Dec 2003 17:34:51 -0000       1.42
  @@ -128,9 +128,17 @@
           }
       };
   
  -    private static final String HTML_BEGIN_COMMENT = "\n<!-- Begin \n";
  +    /**
  +     * The start of the HTML comment hiding JavaScript from old browsers.
  +     * @since Struts 1.2
  +     */
  +    protected static final String HTML_BEGIN_COMMENT = "\n<!-- Begin \n";
   
  -    private static final String HTML_END_COMMENT = "//End --> \n";
  +    /**
  +     * The end of the HTML comment hiding JavaScript from old browsers.
  +     * @since Struts 1.2
  +     */
  +    protected static final String HTML_END_COMMENT = "//End --> \n";
   
       // ----------------------------------------------------------- Properties
   
  
  
  

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

Reply via email to