1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 05:25:07 -05:00

wrap a debug message in a debug-mode check; eliminate a temporary variable

This commit is contained in:
Jesse Vincent 2009-12-27 16:51:59 +00:00
parent 94e61ab62c
commit e2f84c4fa8

View File

@ -726,8 +726,11 @@ public class MessagingController implements Runnable
{ {
return; return;
} }
String debugLine = "Synchronizing folder " + account.getDescription() + ":" + folder;
Log.i(K9.LOG_TAG, debugLine); if (K9.DEBUG)
{
Log.i(K9.LOG_TAG, "Synchronizing folder " + account.getDescription() + ":" + folder);
}
for (MessagingListener l : getListeners()) for (MessagingListener l : getListeners())
{ {