// if we uploaded any reconfigured system property settings
// to the agent then revert them
BMUnitConfigState previousConfigState = currentConfigState.previous;
if (previousConfigState != null && previousConfigState.isAllowConfigUpdate()) {
if (needPropertyReset(previousConfigState, currentConfigState)) {
Submit submit = new Submit(currentConfigState.getHost(), currentConfigState.getPort());
Properties properties = new Properties();
if (configurePropertyReset(previousConfigState, currentConfigState, properties)) {
submit.setSystemProperties(properties);
}
}
}
}