Add more fake groups to the blacklist filter.
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / filters / BlacklistFilter.java
index 145f26f..5194448 100644 (file)
@@ -56,7 +56,7 @@ public class BlacklistFilter implements Filter {
                return new TorrentState(from(torrentState.torrentFiles()).filter(new Predicate<TorrentFile>() {
                        @Override
                        public boolean apply(TorrentFile torrentFile) {
-                               return (torrentFile == null) ? false : nameDoesNotMatchAFilterWord(torrentFile.name());
+                               return (torrentFile != null) && nameDoesNotMatchAFilterWord(torrentFile.name());
                        }
 
                        private boolean nameDoesNotMatchAFilterWord(final String name) {
@@ -72,19 +72,24 @@ public class BlacklistFilter implements Filter {
 
        public static BlacklistFilter createDefaultBlacklistFilter() {
                return new BlacklistFilter(asList(
+            "[G2G]",
             "-3LT0N",
             "-ADTRG",
             "-AMIABLE",
             "-AN0NYM0US",
             "-AQOS",
             "-AXED",
+            "-BiDA",
             "-CM",
             "-DiRTYMARY",
             "-EDAW",
+            "-EVO",
+            "-EVOLVE",
             "-FooKaS",
             "-Haggebulle",
             "-HELLRAZ0R",
             "-juggs",
+            "-KILLERS",
             "-LEGi0N",
             "-MAX",
             "-MiLLENiUM",
@@ -92,13 +97,16 @@ public class BlacklistFilter implements Filter {
             "-NYDIC",
             "-P2P",
             "-PLAYNOW",
+            "-RARBG",
             "-S4A",
+            "-SHODAN",
             "-SPARKS",
             "-SUFFiCE",
             "-TAMILROCKERS",
             "-TASTE",
             "-THC",
             "-UnKnOwN",
+            "-UNiQUE",
             "-W00D"
         ));
        }