cleanup
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 15:18:57 +0000 (17:18 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 15:18:57 +0000 (17:18 +0200)
war/src/main/java/pnews/servlet/ArticleProvider.java

index aae0c87..4912469 100644 (file)
@@ -1,7 +1,6 @@
 package pnews.servlet;
 
 import java.io.IOException;
-import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
@@ -41,7 +40,6 @@ public class ArticleProvider {
         }
         
         private static SyndFeed getSyndFeed(String u) throws IllegalArgumentException, FeedException, MalformedURLException, IOException {
-                InputStream is;
                 XmlReader r;
                 
                 r = new XmlReader(new URL(u));
@@ -87,8 +85,7 @@ public class ArticleProvider {
                 
                 result.put(Category.ESSONNE,
                                 new String[] { "http://www.tourisme-essonne.com/rss/actus/",
-                                               "http://www.ville-palaiseau.fr/rss/actualites.htm"
-                                                /*"https://www.essonneinfo.fr/feed/"*/ });
+                                               "http://www.ville-palaiseau.fr/rss/actualites.htm" });
                 
                 result.put(Category.PEOPLE,
                                 new String[] { "http://www.premiere.fr/rss/actu-live",