This is resubmission of the previous patch, not yet committed, adds
xml:space="preserve" to the javadocs, thus documenting how the user can
preserve whitespace.
--- Noel
Index: Redirect.java
===================================================================
RCS file:
/home/cvspublic/jakarta-james/src/java/org/apache/james/transport/mailets/Redirect.java,v
retrieving revision 1.5
diff -u -r1.5 Redirect.java
--- Redirect.java 28 Jul 2002 11:46:41 -0000 1.5
+++ Redirect.java 1 Aug 2002 17:58:43 -0000
@@ -137,8 +137,8 @@
*<TR>
*<TD width="20%"><prefix></TD>
*<TD width="80%">An optional subject prefix prepended to the original message
-*subject, for example..<BR>
-*Undeliverable mail:</TD>
+*subject, for example:<BR>
+*Undeliverable mail: </TD>
*</TR>
*<TR>
*<TD width="20%"><static></TD>
@@ -165,7 +165,8 @@
*<inline>unaltered</inline><BR>
*<passThrough>FALSE</passThrough><BR>
*<replyto>postmaster</replyto><BR>
-*<prefix>[test mailing]</prefix><BR>
+*<prefix xml:space="preserve">[test mailing] </prefix><BR>
+*<!-- note the xml:space="preserve" to preserve whitespace --><BR>
*<static>TRUE</static><BR>
*<passThrough>FALSE</passThrough><BR>
*</mailet><BR>
@@ -359,7 +360,7 @@
if(getInitParameter("prefix") == null) {
return "";
} else {
- return getInitParameter("prefix") + " ";
+ return getInitParameter("prefix");
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>