package org.lodder.subtools.multisubdownloader.subtitleproviders;

import java.util.ArrayList;
import java.util.List;

public class SubtitleProviderStore {
  protected List<SubtitleProvider> subtitleProviders = new ArrayList<>();

  public List<SubtitleProvider> getAllProviders() {
    return new ArrayList<>(this.subtitleProviders);
  }

  public void addProvider(SubtitleProvider provider) {
    if (!this.subtitleProviders.contains(provider)) {
      this.subtitleProviders.add(provider);
    }
  }
}

@@ -495,11 +495,218 @@
    %7D%0A  %7D
+%0A%0A  public void deleteProvider(SubtitleProvider subtitleProvider) %7B%0A    if (!this.subtitleProviders.contains(subtitleProvider)) %7B%0A      return;%0A    %7D%0A%0A    this.subtitleProviders.remove(subtitleProvider);%0A  %7D
 %0A%7D%0A

Add deleteProvider method