Remove dead website PipeDot
[gofetch.git] / src / be / nikiroo / gofetch / support / BasicSupport.java
index 17a3c151750e9c7e56169fe4fd8be87b9eb39855..9555b9db363a2bdffe408d1698db0bb35f73d380 100644 (file)
@@ -3,7 +3,6 @@ package be.nikiroo.gofetch.support;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
-import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -34,7 +33,7 @@ import be.nikiroo.utils.StringUtils;
  */
 public abstract class BasicSupport {
        /**
-        * The downloader to use for all web sites via
+        * The {@link Downloader} to use for all web sites via
         * {@link BasicSupport#open(URL)}
         */
        static private Downloader downloader = new Downloader("gofetcher");
@@ -56,6 +55,7 @@ public abstract class BasicSupport {
         *             in case of I/O error
         * 
         */
+       @SuppressWarnings("unused")
        public void login() throws IOException {
        }
 
@@ -133,9 +133,10 @@ public abstract class BasicSupport {
                                                id = "0" + id;
                                        }
                                } else {
-                                       id = date.replace(":", "_").replace("+", "_").replace("/", "-");
+                                       id = date.replace(":", "_").replace("+", "_")
+                                                       .replace("/", "-");
                                }
-                               
+
                                date = date(date);
 
                                list.add(new Story(getType(), id, title, author, date, categ,
@@ -577,9 +578,6 @@ public abstract class BasicSupport {
                        case SLASHDOT:
                                support = new Slashdot();
                                break;
-                       case PIPEDOT:
-                               support = new Pipedot();
-                               break;
                        case LWN:
                                support = new LWN();
                                break;