if ( master != Machine.NO_MACHINE &&
master.getMachineId() != getMyMachineId() )
{
masterClient = new MasterClient( master, storeDir );
}
<BUG>cachedMaster = new Pair<Master, Machine>( masterClient, master );
return cachedMaster;</BUG>
}
protected abstract int getMyMachineId();
public Pair<Master, Machine> getCachedMaster()

if ( master != Machine.NO_MACHINE &&
master.getMachineId() != getMyMachineId() )
{
masterClient = new MasterClient( master, storeDir );
}
cachedMaster = new Pair<Master, Machine>( masterClient, master );
}
return cachedMaster;
}
protected abstract int getMyMachineId();
public Pair<Master, Machine> getCachedMaster()
