private void filterNonValidShelvedChangeLists() {
    List<ShelvedChangeList> allSchemes = new ArrayList<>(schemeManager.getAllSchemes());
    for (int i = 0, size = allSchemes.size(); i < size; i++) {
      ShelvedChangeList t = allSchemes.get(i);
      if (!t.isValid()) {
        schemeManager.removeScheme(t);
      }
    }
  }
private void filterNonValidShelvedChangeLists()