mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[smap] use simple names instead of paths
This commit is contained in:
parent
ce05a82891
commit
cc79328350
1 changed files with 1 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue