Source:
public void executeCommand(UICommand command) { super.executeCommand(command); if (command.equals(getNewSessionCommand())) { createNewGeoRepSession(); } else if (command.equals(getRemoveSessionCommand())) { } else if(command.equals(getStartSessionCommand())) { startGeoRepSession(); } else if(command.equals(getStopSessionCommand())) { stopGeoRepSession(); } else if(command.equals(getPauseSessionCommand())) { pauseGeoRepSession(); } else if(command.equals(getResumeSessionCommand())) { resumeGeoRepSession(); } else if(command.equals(getSessionOptionsCommand())) { showSessionOptions(); } else if(command.equals(getViewSessionDetailsCommand())) { } else if (command.equals(getRefreshSessionsCommand())) { refreshSessions(); } else if (command.getName().equalsIgnoreCase("onCreateSession")) { onCreateSession(); } else if (command.getName().equalsIgnoreCase("closeConfirmWindow")) { setConfirmWindow(null); } else if (command.getName().equalsIgnoreCase("onStartGeoRepSession")) { onGeoRepSessionAction(VdcActionType.StartGlusterVolumeGeoRep); } else if (command.getName().equalsIgnoreCase("onStopGeoRepSession")) { onGeoRepSessionAction(VdcActionType.StopGeoRepSession); } else if (command.getName().equalsIgnoreCase("onPauseGeoRepSession")) { onGeoRepSessionAction(VdcActionType.PauseGlusterVolumeGeoRepSession); } else if (command.getName().equalsIgnoreCase("onResumeGeoRepSession")) { onGeoRepSessionAction(VdcActionType.ResumeGeoRepSession); } else if (command.getName().equalsIgnoreCase("ok")) { updateConfig(); } else if (command.getName().equalsIgnoreCase("closeWindow")) { closeWindow(); } else if (command.getName().equalsIgnoreCase("closeConfirmWindow")) { closeConfirmWindow(); } }

Target:
public void executeCommand(UICommand command) { super.executeCommand(command); if (command.equals(getNewSessionCommand())) { createNewGeoRepSession(); } else if (command.equals(getRemoveSessionCommand())) { removeGeoRepSession(); } else if(command.equals(getStartSessionCommand())) { startGeoRepSession(); } else if(command.equals(getStopSessionCommand())) { stopGeoRepSession(); } else if(command.equals(getPauseSessionCommand())) { pauseGeoRepSession(); } else if(command.equals(getResumeSessionCommand())) { resumeGeoRepSession(); } else if(command.equals(getSessionOptionsCommand())) { showSessionOptions(); } else if(command.equals(getViewSessionDetailsCommand())) { } else if (command.equals(getRefreshSessionsCommand())) { refreshSessions(); } else if (command.getName().equalsIgnoreCase("onCreateSession")) { onCreateSession(); } else if (command.getName().equalsIgnoreCase("onStartGeoRepSession")) { onGeoRepSessionAction(VdcActionType.StartGlusterVolumeGeoRep); } else if (command.getName().equalsIgnoreCase("onStopGeoRepSession")) { onGeoRepSessionAction(VdcActionType.StopGeoRepSession); } else if (command.getName().equalsIgnoreCase("onPauseGeoRepSession")) { onGeoRepSessionAction(VdcActionType.PauseGlusterVolumeGeoRepSession); } else if (command.getName().equalsIgnoreCase("onResumeGeoRepSession")) { onGeoRepSessionAction(VdcActionType.ResumeGeoRepSession); } else if (command.getName().equalsIgnoreCase("onRemoveGeoRepSession")) { onGeoRepSessionAction(VdcActionType.DeleteGeoRepSession); } else if (command.getName().equalsIgnoreCase("ok")) { updateConfig(); } else if (command.getName().equalsIgnoreCase("closeWindow")) { closeWindow(); } else if (command.getName().equalsIgnoreCase("closeConfirmWindow")) { closeConfirmWindow(); } }