From 98bd83af1b60734b91ef68736bbc3479d39143b4 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Tue, 22 Mar 2011 22:34:11 +0000 Subject: [PATCH] bug fix --- Robust/src/IR/ClassDescriptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust/src/IR/ClassDescriptor.java b/Robust/src/IR/ClassDescriptor.java index 8a8ca629..24b5448f 100644 --- a/Robust/src/IR/ClassDescriptor.java +++ b/Robust/src/IR/ClassDescriptor.java @@ -199,10 +199,10 @@ public class ClassDescriptor extends Descriptor { if (cn==null) { return null; } - Set possiblematches=cn.getMethodTable().getSet(md.getSymbol()); - boolean foundmatch=false; + Set possiblematches=cn.getMethodTable().getSetFromSameScope(md.getSymbol()); for(Iterator matchit=possiblematches.iterator(); matchit.hasNext();) { MethodDescriptor matchmd=(MethodDescriptor)matchit.next(); + if (md.matches(matchmd)) { return matchmd; } -- 2.34.1