void removeRevokedTariffs () { if (null == revokedTariffs) return; for (Tariff tariff : revokedTariffs) { // remove all subscriptions tariffSubscriptionRepo.removeSubscriptionsForTariff(tariff); // then remove the tariff and the tariffSpec tariffRepo.removeTariff(tariff); } revokedTariffs = null; }