Mercurial Hosting > luan
comparison src/org/eclipse/jetty/util/resource/Resource.java @ 1013:6939226e0ac4
simplify URIUtil
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 24 Oct 2016 01:06:33 -0600 |
parents | 7c737c376bc3 |
children |
comparison
equal
deleted
inserted
replaced
1012:8d0bdd357e6e | 1013:6939226e0ac4 |
---|---|
492 String path=URIUtil.addPaths(encodedBase,URIUtil.encodePath(ls[i])); | 492 String path=URIUtil.addPaths(encodedBase,URIUtil.encodePath(ls[i])); |
493 | 493 |
494 buf.append(path); | 494 buf.append(path); |
495 | 495 |
496 if (item.isDirectory() && !path.endsWith("/")) | 496 if (item.isDirectory() && !path.endsWith("/")) |
497 buf.append(URIUtil.SLASH); | 497 buf.append("/"); |
498 | 498 |
499 // URIUtil.encodePath(buf,path); | 499 // URIUtil.encodePath(buf,path); |
500 buf.append("\">"); | 500 buf.append("\">"); |
501 buf.append(deTag(ls[i])); | 501 buf.append(deTag(ls[i])); |
502 buf.append(" "); | 502 buf.append(" "); |