wrap a debug message in a debug-mode check; eliminate a temporary variable
This commit is contained in:
parent
94e61ab62c
commit
e2f84c4fa8
1 changed files with 5 additions and 2 deletions
|
@ -726,8 +726,11 @@ public class MessagingController implements Runnable
|
|||
{
|
||||
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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue