final String binaryOfTarget = new String(strMsg[MSG_INDEX_BINARY_OF_TARGET].trim());
final String executablePath = new String(strMsg[MSG_INDEX_EXECUTABLE_PATH].trim());
List<String> localPackagePathList = new ArrayList<String>();
- int msg_index_interactive = MSG_INDEX_LOCAL_PACKAGE_PATH;
- for (int i = MSG_INDEX_LOCAL_PACKAGE_PATH; i < strMsg.length; i++) {
- msg_index_interactive = i;
- if (AnalyzerUtil.isInteger(strMsg[i].trim())) {
+ int msgIndex = MSG_INDEX_LOCAL_PACKAGE_PATH;
+ for (; msgIndex < strMsg.length; msgIndex++) {
+ if (AnalyzerUtil.isInteger(strMsg[msgIndex].trim())) {
break;
}
- localPackagePathList.add(new String(strMsg[i].trim()));
+ localPackagePathList.add(new String(strMsg[msgIndex].trim()));
}
/*
* make interactiveInfo, FunctionBodyInstrument
*/
- parseCheckpoints(strMsg, ++msg_index_interactive);
+ parseCheckpoints(strMsg, msgIndex);
if (isOpenWelcomeDlg()) {
Logger.debug("Start -AutoRun Waiting...");