From 38cc0dd2f77eaea1778ede835e7da0aa9d871de7 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 12 Jun 2006 14:00:02 +0000 Subject: fix for 146546 --- asm/src/org/aspectj/asm/AsmManager.java | 3 +-- asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'asm') 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); } } -- cgit v1.2.3