🎨 Replace Sinfest filter with Kotlin version
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / filters / BlacklistFilter.java
index 78eb6be..5bac2a0 100644 (file)
@@ -30,6 +30,7 @@ import net.pterodactylus.rhynodge.states.TorrentState;
 import net.pterodactylus.rhynodge.states.TorrentState.TorrentFile;
 
 import com.google.common.base.Predicate;
+import org.jetbrains.annotations.NotNull;
 
 /**
  * Filter for {@link TorrentState}s that removes all {@link TorrentFile}s whose
@@ -45,8 +46,9 @@ public class BlacklistFilter implements Filter {
                this.filterWords = filterWords;
        }
 
+       @NotNull
        @Override
-       public State filter(State state) {
+       public State filter(@NotNull State state) {
                if (!state.success()) {
                        return FailedState.from(state);
                }
@@ -108,11 +110,13 @@ public class BlacklistFilter implements Filter {
             "-MAX",
             "-MiLLENiUM",
             "-NeDiVx",
+            "-NO1KNOWS",
             "-NoGRP",
             "-NOiR",
             "-NYDIC",
             "-P2P",
             "-PLAYNOW",
+            "-PSYPHER",
             "-PUKKA",
             "-PrisM",
             "-RARBG",