diff options
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/AsmManager.java | 3 | ||||
-rw-r--r-- | asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/asm/src/org/aspectj/asm/AsmManager.java b/asm/src/org/aspectj/asm/AsmManager.java index e9b8c4bc1..e28cedf48 100644 --- a/asm/src/org/aspectj/asm/AsmManager.java +++ b/asm/src/org/aspectj/asm/AsmManager.java @@ -490,9 +490,8 @@ public class AsmManager { //===================== DELTA PROCESSING CODE ============== start ==========// - // XXX shouldn't be aware of the delimiter private String getFilename(String hid) { - return hid.substring(0,hid.indexOf("|")); + return getHandleProvider().getFileForHandle(hid); } /** diff --git a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java index 8224c6d9f..8260c4805 100644 --- a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java +++ b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java @@ -444,9 +444,8 @@ public class AspectJElementHierarchy implements IHierarchy { } - // XXX shouldn't be aware of the delimiter private String getFilename(String hid) { - return hid.substring(0,hid.indexOf("|")); + return AsmManager.getDefault().getHandleProvider().getFileForHandle(hid); } } |