You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by ma...@apache.org on 2004/01/31 05:20:38 UTC
cvs commit: jakarta-taglibs/mailer/src/org/apache/taglibs/mailer AddRecipientTag.java AttachTag.java SetRecipientTag.java
martinc 2004/01/30 20:20:38
Modified: mailer/src/org/apache/taglibs/mailer AddRecipientTag.java
AttachTag.java SetRecipientTag.java
Log:
Make private methods protected to allow for tag extensions.
PR: 20573
Submitted by: Marc Guillemot
Revision Changes Path
1.10 +4 -4 jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/AddRecipientTag.java
Index: AddRecipientTag.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/AddRecipientTag.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AddRecipientTag.java 30 Jan 2004 06:38:04 -0000 1.9
+++ AddRecipientTag.java 31 Jan 2004 04:20:38 -0000 1.10
@@ -190,7 +190,7 @@
this.address = address.trim();
}
- private void addToParent(String addr) throws JspTagException {
+ protected void addToParent(String addr) throws JspTagException {
// parent tag must be a MailTag, gives access to methods in parent
MailTag myparent =
(MailTag)findAncestorWithClass
1.9 +5 -5 jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/AttachTag.java
Index: AttachTag.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/AttachTag.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AttachTag.java 30 Jan 2004 06:38:04 -0000 1.8
+++ AttachTag.java 31 Jan 2004 04:20:38 -0000 1.9
@@ -271,7 +271,7 @@
* @param value string that represents a URL
*
*/
- private void setUrlBodyPart(String value) throws JspException {
+ protected void setUrlBodyPart(String value) throws JspException {
// Added by Jayson Falkner - 5/8/2001
@@ -300,7 +300,7 @@
* @param value string that represents a file path
*
*/
- private void setFileBodyPart(String value) throws JspException {
+ protected void setFileBodyPart(String value) throws JspException {
// create a real path from the webapplication realative path given as
// the name of the file to attach
1.10 +4 -4 jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/SetRecipientTag.java
Index: SetRecipientTag.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/SetRecipientTag.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- SetRecipientTag.java 30 Jan 2004 06:38:04 -0000 1.9
+++ SetRecipientTag.java 31 Jan 2004 04:20:38 -0000 1.10
@@ -190,7 +190,7 @@
this.address = address.trim();
}
- private void addToParent(String addr) throws JspTagException {
+ protected void addToParent(String addr) throws JspTagException {
// parent tag must be a MailTag, gives access to methods in parent
MailTag myparent =
(MailTag)findAncestorWithClass
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org