void (final Collection<? extends Change> changes, final ChangeList fromList, final ChangeList toList) { if (fromList.getName().equals(toList.getName())) { return; } if (LocalChangeList.getDefaultName().equals(toList.getName())) { changeListRemoved(toList); return; } final String[] fromLists = LocalChangeList.getDefaultName().equals(fromList.getName()) ? null : new String[] {fromList.getName()}; addToChangeList(toList.getName(), changes, fromLists); }