AAFcli.java-Merge the if statement with the existing one
Issue-ID: AAF-876
Change-Id: I5bcb2f45f8210b519ca9667b8b17e20b110ab4ff
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
}
} 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