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 [EMAIL PROTECTED]  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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to