From ca4940622c05e50a50f77c621ade914029663446 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 21 Jun 2010 13:51:56 +0000 Subject: 2010-06-21 Tatsuhiro Tsujikawa Changed naming standards for class member variable: now it looks like var_ instead of _var. --- src/FileAllocationCommand.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/FileAllocationCommand.cc') diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc index eeb85a96..8d67a68b 100644 --- a/src/FileAllocationCommand.cc +++ b/src/FileAllocationCommand.cc @@ -56,7 +56,7 @@ FileAllocationCommand::FileAllocationCommand (cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e, const SharedHandle& fileAllocationEntry): RealtimeCommand(cuid, requestGroup, e), - _fileAllocationEntry(fileAllocationEntry) {} + fileAllocationEntry_(fileAllocationEntry) {} FileAllocationCommand::~FileAllocationCommand() {} @@ -66,19 +66,19 @@ bool FileAllocationCommand::executeInternal() getDownloadEngine()->getFileAllocationMan()->dropPickedEntry(); return true; } - _fileAllocationEntry->allocateChunk(); - if(_fileAllocationEntry->finished()) { + fileAllocationEntry_->allocateChunk(); + if(fileAllocationEntry_->finished()) { if(getLogger()->debug()) { getLogger()->debug (MSG_ALLOCATION_COMPLETED, - _timer.difference(global::wallclock), + timer_.difference(global::wallclock), util::itos(getRequestGroup()->getTotalLength(), true).c_str()); } getDownloadEngine()->getFileAllocationMan()->dropPickedEntry(); std::vector* commands = new std::vector(); auto_delete_container > commandsDel(commands); - _fileAllocationEntry->prepareForNextAction(*commands, getDownloadEngine()); + fileAllocationEntry_->prepareForNextAction(*commands, getDownloadEngine()); getDownloadEngine()->addCommand(*commands); commands->clear(); getDownloadEngine()->setNoWait(true); -- cgit