Sfoglia il codice sorgente

Remove deprecated methods.

Change-Id: I5ad29260862e3e9983a7031549bb5e6296551859
Reviewed-on: http://gerrit.dmdirc.com/4055
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
changes/55/4055/3
Greg Holmes 9 anni fa
parent
commit
60e9f7d9cd
1 ha cambiato i file con 0 aggiunte e 28 eliminazioni
  1. 0
    28
      src/com/dmdirc/util/io/Downloader.java

+ 0
- 28
src/com/dmdirc/util/io/Downloader.java Vedi File

@@ -33,7 +33,6 @@ import java.net.URLConnection;
33 33
 import java.net.URLEncoder;
34 34
 import java.nio.file.Files;
35 35
 import java.nio.file.Path;
36
-import java.nio.file.Paths;
37 36
 import java.util.ArrayList;
38 37
 import java.util.List;
39 38
 import java.util.Map;
@@ -119,33 +118,6 @@ public class Downloader {
119 118
         downloadPage(url, file, null);
120 119
     }
121 120
 
122
-    /**
123
-     * Downloads the specified page to disk.
124
-     *
125
-     * @param url The URL to retrieve
126
-     * @param file The file to save the page to
127
-     * @throws IOException If there's an I/O error while downloading
128
-     */
129
-    @Deprecated
130
-    public void downloadPage(final String url, final String file)
131
-            throws IOException {
132
-        downloadPage(url, Paths.get(file), null);
133
-    }
134
-
135
-    /**
136
-     * Downloads the specified page to disk.
137
-     *
138
-     * @param url The URL to retrieve
139
-     * @param file The file to save the page to
140
-     * @param listener The progress listener for this download
141
-     * @throws IOException If there's an I/O error while downloading
142
-     */
143
-    @Deprecated
144
-    public void downloadPage(final String url, final String file,
145
-            final DownloadListener listener) throws IOException {
146
-        downloadPage(url, Paths.get(file), listener);
147
-    }
148
-
149 121
     /**
150 122
      * Downloads the specified page to disk.
151 123
      *

Loading…
Annulla
Salva