fix to isInit predicate in AstMethod

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1277 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
dolby-oss 2007-06-14 17:43:30 +00:00
parent de3e9adaea
commit 1812d506bd
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public abstract class AstMethod implements IMethod {
}
public boolean isInit() {
return getSelector().equals(MethodReference.initSelector);
return getSelector().getName().equals(MethodReference.initAtom);
}
public Atom getName() {