void (final Context context) { final int[] fileIdsToRemove = context.fileIds; final int nameId = context.nameId; final InvertedNameIndex invertedNameIndex = context.invertedNameIndex; for (int fileId : fileIdsToRemove) { invertedNameIndex.updateFileName(fileId, InvertedNameIndex.NULL_NAME_ID, nameId); } }