}
Commandline cl = SynergyCCM.showDefaultTask( ccmAddr );
CommandLineUtils.StringStreamConsumer stderr = new CommandLineUtils.StringStreamConsumer();
SynergyShowDefaultTaskConsumer stdout = new SynergyShowDefaultTaskConsumer( logger );
int errorCode = executeSynergyCommand( logger, cl, stderr, stdout, false );
if ( logger.isDebugEnabled() )
{
logger.debug( "getDefaultTask returns " + stdout.getTask() + " with error code " + errorCode );
}
return stdout.getTask();
}