On 4.2.16 7:17 , [email protected] wrote:
Author: alexparvulescu Date: Thu Feb 4 18:17:40 2016 New Revision: 1728525URL: http://svn.apache.org/viewvc?rev=1728525&view=rev Log: OAK-3988 Offline compaction should avoid loading external binaries
long count = 0;
...
count += size;
if (size >= offlineThreshold || count >=
offlineThreshold) {
return true;
I think the if condition can be simplified to (count >= offlineThreshold) as count >= size would always hold.
Michael
