}
} else if ("expect".equalsIgnoreCase(largs[idx])) {
expect.clear();
- if (largs.length > idx++) {
- if (!"nothing".equals(largs[idx])) {
+ if ((largs.length > idx++)&&(!"nothing".equals(largs[idx]))) {
for (String str : largs[idx].split(",")) {
try {
if ("Exception".equalsIgnoreCase(str)) {
}
}
++idx;
- }
- }
+ }
continue;
// Sleep, typically for reports, to allow DB to update
// Milliseconds
} else if ("set".equalsIgnoreCase(largs[idx])) {
while (largs.length > ++idx) {
int equals = largs[idx].indexOf('=');
- String tag, value;
+ String tag;
+ String value;
if (equals < 0) {
tag = largs[idx];
value = access.getProperty(Config.AAF_APPPASS,null);