Remove unnecessary type arguments.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 05:08:37 +0000 (07:08 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 05:08:37 +0000 (07:08 +0200)
src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsEpisodeWatcher.java
src/main/java/net/pterodactylus/rhynodge/watchers/KickAssTorrentsWatcher.java
src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayEpisodeWatcher.java
src/main/java/net/pterodactylus/rhynodge/watchers/PirateBayWatcher.java

index e8a8574..42b22bc 100644 (file)
@@ -77,7 +77,7 @@ public class KickAssTorrentsEpisodeWatcher extends DefaultWatcher {
         * @return The filters of the watcher
         */
        private static List<Filter> createFilters() {
-               return ImmutableList.<Filter> of(new HtmlFilter(), new KickAssTorrentsFilter(), new EpisodeFilter());
+               return ImmutableList.of(new HtmlFilter(), new KickAssTorrentsFilter(), new EpisodeFilter());
        }
 
        /**
index 631bd2e..8921287 100644 (file)
@@ -75,7 +75,7 @@ public class KickAssTorrentsWatcher extends DefaultWatcher {
         * @return The filters of the watcher
         */
        private static List<Filter> createFilters() {
-               return ImmutableList.<Filter> of(new HtmlFilter(), new KickAssTorrentsFilter());
+               return ImmutableList.of(new HtmlFilter(), new KickAssTorrentsFilter());
        }
 
        /**
index 30bd376..8611937 100644 (file)
@@ -75,7 +75,7 @@ public class PirateBayEpisodeWatcher extends DefaultWatcher {
         * @return The filters of the watcher
         */
        private static List<Filter> createFilters() {
-               return ImmutableList.<Filter> of(new HtmlFilter(), new PirateBayFilter(), new EpisodeFilter());
+               return ImmutableList.of(new HtmlFilter(), new PirateBayFilter(), new EpisodeFilter());
        }
 
        /**
index 9a77393..e390fd4 100644 (file)
@@ -74,7 +74,7 @@ public class PirateBayWatcher extends DefaultWatcher {
         * @return The filters of the watcher
         */
        private static List<Filter> createFilters() {
-               return ImmutableList.<Filter> of(new HtmlFilter(), new PirateBayFilter());
+               return ImmutableList.of(new HtmlFilter(), new PirateBayFilter());
        }
 
        /**