remove check in compareElements since we're now passing PathEdges to hasPriorityOver()

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2696 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
msridhar1 2008-03-12 14:42:34 +00:00
parent d0d0fcdeb2
commit e51c1b0dd6
1 changed files with 1 additions and 6 deletions

View File

@ -965,12 +965,7 @@ public class TabulationSolver<T, P> {
@SuppressWarnings("unchecked")
@Override
protected boolean compareElements(PathEdge<T> p1, PathEdge<T> p2) {
if (p1.d2 != p2.d2) { // TODO should we remove this check?
if (problem.getDomain().hasPriorityOver(p1, p2)) {
return true;
}
}
return false;
return problem.getDomain().hasPriorityOver(p1, p2);
}
}