mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-12-23 05:08:47 +00:00
fix url display error...
This commit is contained in:
parent
c75864ad9e
commit
9208750792
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user