void () { while (!myProbablyExpensiveUpdates.isEmpty()) { FileInfo info = myProbablyExpensiveUpdates.poll(); if (wereModificationsInCurrentBatch(info.type)) continue; registerModificationFor(info.type); } }