equal
deleted
inserted
replaced
1606 } |
1606 } |
1607 } |
1607 } |
1608 if (u.getProtocol().equals("file")) { |
1608 if (u.getProtocol().equals("file")) { |
1609 boolean isLocalFile = false; |
1609 boolean isLocalFile = false; |
1610 String host = u.getHost(); |
1610 String host = u.getHost(); |
1611 isLocalFile = (host == null || host.equals("") || |
1611 isLocalFile = (host == null || host.isEmpty() || |
1612 host.equals("~") || host.equalsIgnoreCase("localhost")); |
1612 host.equals("~") || host.equalsIgnoreCase("localhost")); |
1613 |
1613 |
1614 if (isLocalFile) { |
1614 if (isLocalFile) { |
1615 path = u.getFile().replace('/', File.separatorChar); |
1615 path = u.getFile().replace('/', File.separatorChar); |
1616 path = ParseUtil.decode(path); |
1616 path = ParseUtil.decode(path); |