1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Update/remove comments

This commit is contained in:
cketti 2014-05-03 06:33:33 +02:00
parent a9cfa9ae68
commit e2cffa074f

View File

@ -9,14 +9,12 @@ import com.fsck.k9.helper.StringUtils;
import com.fsck.k9.mail.Body; import com.fsck.k9.mail.Body;
public class TextBodyBuilder { public class TextBodyBuilder {
// option
private boolean mIncludeQuotedText = true; private boolean mIncludeQuotedText = true;
private boolean mReplyAfterQuote = false; private boolean mReplyAfterQuote = false;
private boolean mSignatureBeforeQuotedText = false; private boolean mSignatureBeforeQuotedText = false;
private boolean mInsertSeparator = false; private boolean mInsertSeparator = false;
private boolean mAppendSignature = true; private boolean mAppendSignature = true;
// message parts
private String mMessageContent; private String mMessageContent;
private String mSignature; private String mSignature;
private String mQuotedText; private String mQuotedText;
@ -29,12 +27,6 @@ public class TextBodyBuilder {
/** /**
* Build the {@link Body} that will contain the text of the message. * Build the {@link Body} that will contain the text of the message.
* *
* <p>
* Draft messages are treated somewhat differently in that signatures are
* not appended and HTML separators between composed text and quoted text
* are not added.
* </p>
*
* @return {@link TextBody} instance that contains the entered text and * @return {@link TextBody} instance that contains the entered text and
* possibly the quoted original message. * possibly the quoted original message.
*/ */
@ -127,12 +119,6 @@ public class TextBodyBuilder {
/** /**
* Build the {@link Body} that will contain the text of the message. * Build the {@link Body} that will contain the text of the message.
* *
* <p>
* Draft messages are treated somewhat differently in that signatures are
* not appended and HTML separators between composed text and quoted text
* are not added.
* </p>
*
* @return {@link TextBody} instance that contains the entered text and * @return {@link TextBody} instance that contains the entered text and
* possibly the quoted original message. * possibly the quoted original message.
*/ */
@ -198,11 +184,6 @@ public class TextBodyBuilder {
return signature; return signature;
} }
/**
* Get an HTML version of the signature in the #mSignatureView, if any.
*
* @return HTML version of signature.
*/
private String getSignatureHtml() { private String getSignatureHtml() {
String signature = ""; String signature = "";
if (!StringUtils.isNullOrEmpty(mSignature)) { if (!StringUtils.isNullOrEmpty(mSignature)) {
@ -227,8 +208,6 @@ public class TextBodyBuilder {
return HtmlConverter.textToHtmlFragment(text); return HtmlConverter.textToHtmlFragment(text);
} }
// setter
public void setSignature(String signature) { public void setSignature(String signature) {
mSignature = signature; mSignature = signature;
} }