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

"Optimized" computeBatchDirection() to exit the loop once newState is set to true because it can never be changed to false again.

This commit is contained in:
cketti 2010-07-12 01:09:47 +00:00
parent 6fc14b9e07
commit f40a01b0d2

View File

@ -2793,6 +2793,7 @@ public class MessageList
if (!holder.flagged)
{
newState = true;
break;
}
}
else
@ -2800,6 +2801,7 @@ public class MessageList
if (!holder.read)
{
newState = true;
break;
}
}
}