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:
parent
85ad6cd850
commit
637bdaf379
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue