nuke unnecessary WalaException

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2481 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2008-01-25 19:02:01 +00:00
parent 74e1514af6
commit 41cee5c4e6
1 changed files with 1 additions and 2 deletions

View File

@ -15,14 +15,13 @@ import java.util.HashSet;
import java.util.Iterator;
import com.ibm.wala.util.collections.HashSetFactory;
import com.ibm.wala.util.warnings.WalaException;
/**
* TODO: Move this somewhere.
*/
public class InferGraphRoots {
public static <T> Collection<T> inferRoots(Graph<T> g) throws WalaException {
public static <T> Collection<T> inferRoots(Graph<T> g){
if (g == null) {
throw new IllegalArgumentException("g is null");
}