Add more fake groups to the blacklist filter.
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / filters / BlacklistFilter.java
index 676d7be..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,15 +72,18 @@ 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",
@@ -94,7 +97,9 @@ public class BlacklistFilter implements Filter {
             "-NYDIC",
             "-P2P",
             "-PLAYNOW",
+            "-RARBG",
             "-S4A",
+            "-SHODAN",
             "-SPARKS",
             "-SUFFiCE",
             "-TAMILROCKERS",