don't call process() if args aren't specified

This commit is contained in:
Dave Parfitt 2013-01-29 11:34:29 -05:00
parent 2bde37a8f6
commit ee0dc0542a
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,9 @@ public class TestRig {
public static void main(String[] args) throws Exception {
TestRig testRig = new TestRig(args);
testRig.process();
if(args.length >= 2) {
testRig.process();
}
}
public void process() throws Exception {