From 9208750792890b281c09d84ed3aa55bbd60f9ce5 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Sun, 23 Aug 2015 23:35:19 +0800 Subject: [PATCH] fix url display error... --- src/main/java/cn/citycraft/Yum/utils/DownloadManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java b/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java index d13e133..5fde3a7 100644 --- a/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java +++ b/src/main/java/cn/citycraft/Yum/utils/DownloadManager.java @@ -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());