boolean removed = false;
for (int i = resourceIds.size() - 1; i >= 0; i--) {
Integer resourceIdToVerify = resourceIds.get(i);
boolean match = false;
for (int j = 0; j < flyWeights.size(); j++) {
ResourceIdFlyWeight resourceFlyToCompare = flyWeights.get(j);
if (resourceIdToVerify == resourceFlyToCompare.getId()) {
match = true;
break;
}
}
if (!match) {