void () { removeInvalidFilesFromStacks(); if (myCurrentIndex >= myChangePlaces.size()) return; PlaceInfo currentPlace = getCurrentPlaceInfo(); for (int i = myCurrentIndex; i < myChangePlaces.size(); i++) { PlaceInfo info = myChangePlaces.get(i); if (currentPlace == null || !isSame(currentPlace, info)) { executeCommand(() -> gotoPlaceInfo(info), "", null); myCurrentIndex = i + 1; break; } } }