diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
| commit | ca4940622c05e50a50f77c621ade914029663446 (patch) | |
| tree | 2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/CheckIntegrityCommand.cc | |
| parent | ae957baa98d4f97ea2437596db5073f9c33d22ae (diff) | |
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks
like var_ instead of _var.
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
| -rw-r--r-- | src/CheckIntegrityCommand.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc index 72087520..6ab47c2c 100644 --- a/src/CheckIntegrityCommand.cc +++ b/src/CheckIntegrityCommand.cc @@ -53,7 +53,7 @@ CheckIntegrityCommand::CheckIntegrityCommand (cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e, const SharedHandle<CheckIntegrityEntry>& entry): RealtimeCommand(cuid, requestGroup, e), - _entry(entry) + entry_(entry) {} CheckIntegrityCommand::~CheckIntegrityCommand() {} @@ -64,8 +64,8 @@ bool CheckIntegrityCommand::executeInternal() getDownloadEngine()->getCheckIntegrityMan()->dropPickedEntry(); return true; } - _entry->validateChunk(); - if(_entry->finished()) { + entry_->validateChunk(); + if(entry_->finished()) { getDownloadEngine()->getCheckIntegrityMan()->dropPickedEntry(); // Enable control file saving here. See also // RequestGroup::processCheckIntegrityEntry() to know why this is @@ -77,7 +77,7 @@ bool CheckIntegrityCommand::executeInternal() getRequestGroup()->getDownloadContext()->getBasePath().c_str()); std::vector<Command*>* commands = new std::vector<Command*>(); auto_delete_container<std::vector<Command*> > commandsDel(commands); - _entry->onDownloadFinished(*commands, getDownloadEngine()); + entry_->onDownloadFinished(*commands, getDownloadEngine()); getDownloadEngine()->addCommand(*commands); commands->clear(); } else { @@ -86,7 +86,7 @@ bool CheckIntegrityCommand::executeInternal() getRequestGroup()->getDownloadContext()->getBasePath().c_str()); std::vector<Command*>* commands = new std::vector<Command*>(); auto_delete_container<std::vector<Command*> > commandsDel(commands); - _entry->onDownloadIncomplete(*commands, getDownloadEngine()); + entry_->onDownloadIncomplete(*commands, getDownloadEngine()); getDownloadEngine()->addCommand(*commands); commands->clear(); } |
