You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/08/05 03:17:55 UTC
DO NOT REPLY [Bug 21168] -
Incorrect paths in generated SMAP file entries
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21168>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21168
Incorrect paths in generated SMAP file entries
------- Additional Comments From jan.luehe@sun.com 2003-08-05 01:17 -------
Applied patch with slight modification:
Instead of (as suggested in the patch):
private static String unqualify(String path) {
File f = new File(path);
return f.getName();
}
the impl now does this:
private static String unqualify(String path) {
return path.substring(path.lastIndexOf(File.separator) + 1);
}
which avoids generation of a File object.