From 68eb725ad52d74215450e8ee96a16a2fe5be3dd3 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 27 Mar 2009 16:32:07 +0000 Subject: [PATCH] remove unnecessary code --- .../asm/internal/JDTLikeHandleProvider.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java index c74da6a3c..cb63c359c 100644 --- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java @@ -199,24 +199,6 @@ public class JDTLikeHandleProvider implements IElementHandleProvider { } } } - // Advice bytecode signatures are like this: - // a, j, c, $, a, f, t, e, r, $, c, o, m, _, k, r, o, n, o, s, _, a, s, p, e, c, t, s, _, P, r, o, c, e, s, s, A, s, p, e, c, t, $, 4, $, 2, e, 7, 5, 9, e, 0, 3] - // where the pointcut hash and advice number are in the mix - we should probably ignore those in the comparison - so we strip up to the third $ - boolean stripit = false; -// int dollarIndex = sig1.indexOf('$'); -// if (dollarIndex!=-1) { -// dollarIndex = sig1.indexOf('$',dollarIndex+1); -// if (dollarIndex!=-1) { -// dollarIndex = sig1.indexOf('$',dollarIndex+1); -// if (dollarIndex!=-1) { -// stripit = true; -// } -// } -// } -// if (stripit) { -// sig1 = sig1.substring(0,dollarIndex); -// System.out.println(sig1); -// } if (sig1 == null && ipeSig == null || (sig1 != null && sig1.equals(ipeSig))) { -- 2.39.5