static void removeFromCollection(Collection a, Collection b) { if (a != null && b != null) a.removeAll(b); }