[jboss-cvs] jboss-seam/src/mail/org/jboss/seam/mail/ui ...
Peter Muir
peter at bleepbleep.org.uk
Thu Oct 11 06:50:17 EDT 2007
User: pmuir
Date: 07/10/11 06:50:17
Modified: src/mail/org/jboss/seam/mail/ui UIBody.java
Log:
Should use getType()
Revision Changes Path
1.11 +2 -2 jboss-seam/src/mail/org/jboss/seam/mail/ui/UIBody.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: UIBody.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/mail/org/jboss/seam/mail/ui/UIBody.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- UIBody.java 5 Apr 2007 15:08:26 -0000 1.10
+++ UIBody.java 11 Oct 2007 10:50:17 -0000 1.11
@@ -33,12 +33,12 @@
try
{
BodyPart bodyPart = null;
- if (PLAIN.equalsIgnoreCase(type))
+ if (PLAIN.equalsIgnoreCase(getType()))
{
String body = encode(facesContext, MailResponseWriter.TEXT_PLAIN_CONTENT_TYPE);
bodyPart = getTextBody(facesContext, body);
}
- else if (HTML.equals(type))
+ else if (HTML.equals(getType()))
{
UIComponent alternative = getFacet("alternative");
String body = encode(facesContext, MailResponseWriter.HTML_PLAIN_CONTENT_TYPE);
More information about the jboss-cvs-commits
mailing list