From 00fb83e1b3cb95db4a877006a0310ee3cb839fc7 Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Fri, 2 May 2014 08:49:01 +0900 Subject: [PATCH] fixup! Use local variable for more readability --- src/com/fsck/k9/activity/MessageCompose.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index 4b0e3d156..99813391c 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -1373,12 +1373,8 @@ public class MessageCompose extends K9Activity implements OnClickListener, textBodyBuilder.setSignatureBeforeQuotedText(mAccount.isSignatureBeforeQuotedText()); - if (mQuoteStyle == QuoteStyle.PREFIX && mAccount.isReplyAfterQuote()) { - textBodyBuilder.setReplyAfterQuote(true); - } - else { - textBodyBuilder.setReplyAfterQuote(false); - } + boolean isReplyAfterQuote = (mQuoteStyle == QuoteStyle.PREFIX && mAccount.isReplyAfterQuote()); + textBodyBuilder.setReplyAfterQuote(isReplyAfterQuote); TextBody body; if (messageFormat == SimpleMessageFormat.HTML) {