fix url display error...

This commit is contained in:
j502647092 2015-08-23 23:35:19 +08:00
parent c75864ad9e
commit 9208750792

View File

@ -63,7 +63,7 @@ public class DownloadManager {
}
try {
sender.sendMessage("§6开始下载: §3" + getFileName(url));
sender.sendMessage("§6下载地址: §3" + url.getPath());
sender.sendMessage("§6下载地址: §3" + url.toString());
int fileLength = url.openConnection().getContentLength();
sender.sendMessage("§6文件长度: §3" + fileLength);
in = new BufferedInputStream(url.openStream());