equal
deleted
inserted
replaced
81 |
81 |
82 path = ParseUtil.decode(file); |
82 path = ParseUtil.decode(file); |
83 path = path.replace('/', '\\'); |
83 path = path.replace('/', '\\'); |
84 path = path.replace('|', ':'); |
84 path = path.replace('|', ':'); |
85 |
85 |
86 if ((host == null) || host.equals("") || |
86 if ((host == null) || host.isEmpty() || |
87 host.equalsIgnoreCase("localhost") || |
87 host.equalsIgnoreCase("localhost") || |
88 host.equals("~")) { |
88 host.equals("~")) { |
89 return createFileURLConnection(url, new File(path)); |
89 return createFileURLConnection(url, new File(path)); |
90 } |
90 } |
91 |
91 |