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:
parent
74e1514af6
commit
41cee5c4e6
|
@ -15,14 +15,13 @@ import java.util.HashSet;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
import com.ibm.wala.util.collections.HashSetFactory;
|
import com.ibm.wala.util.collections.HashSetFactory;
|
||||||
import com.ibm.wala.util.warnings.WalaException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Move this somewhere.
|
* TODO: Move this somewhere.
|
||||||
*/
|
*/
|
||||||
public class InferGraphRoots {
|
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) {
|
if (g == null) {
|
||||||
throw new IllegalArgumentException("g is null");
|
throw new IllegalArgumentException("g is null");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue