diff options
author | aclement <aclement> | 2009-02-12 17:50:17 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-12 17:50:17 +0000 |
commit | 0af658e1b117aee704b5e6e836ce7e84199ae548 (patch) | |
tree | 1955cc50f7f8a906907feef7125727528824125f /asm/src | |
parent | 3df7b5ede4980b5beb9c6af82e58ca2aab9bf66e (diff) | |
download | aspectj-0af658e1b117aee704b5e6e836ce7e84199ae548.tar.gz aspectj-0af658e1b117aee704b5e6e836ce7e84199ae548.zip |
264563: [handles] Remove trailing '/' from source path handles
Diffstat (limited to 'asm/src')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java index 5f60331ba..8d41a2419 100644 --- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java @@ -71,6 +71,9 @@ public class JDTLikeHandleProvider implements IElementHandleProvider { sb.append(createHandleIdentifier(ipe.getParent())).append("/"); // pr249216 - escape any embedded slashes String folder = ipe.getName(); + if (folder.endsWith("/")) { + folder = folder.substring(0, folder.length() - 1); + } if (folder.indexOf("/") != -1) { folder = folder.replace("/", "\\/"); } |