[smap] use simple names instead of paths

This commit is contained in:
Moritz Eysholdt 2013-01-18 13:51:41 +01:00
parent ce05a82891
commit cc79328350

View file

@ -50,11 +50,7 @@ public class TraceAsSmapInstaller implements ITraceToBytecodeInstaller {
}
protected String getPath(URI path) {
if (!path.isPlatformResource())
return null;
String fullPath = path.trimFragment().toPlatformString(true);
final String substring = fullPath.substring(fullPath.substring(1).indexOf('/') + 1);
return substring;
return path.lastSegment();
}
protected String getStratumName(final URI path) {