more argument checking

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1162 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-05-22 02:26:40 +00:00
parent 85ad6cd850
commit 637bdaf379
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public final class DupInstruction extends Instruction {
return "Dup(" + size + "," + delta + ")";
}
public void visit(Visitor v) throws IllegalArgumentException {
public void visit(Visitor v) {
if (v == null) {
throw new IllegalArgumentException("illegal null visitor");
}