Refactor ItemRepositoryRegistry::open(): do not check the cache-dir for…

Authored by intelfx on Dec 8 2012, 7:28 PM.

Description

Refactor ItemRepositoryRegistry::open(): do not check the cache-dir for emptiness.

Instead, move all clear-related checks inside the "do..while" for a
slight optimization - if got "clear = true" by one of criteria, don't
even bother checking the others.
And get rid of a commented warning message-box at clear time - IMO it
won't make much sense in any case.

Details

Committed
intelfxJan 5 2013, 9:06 PM
Parents
R32:a3caa1c0f356: Refactor ItemRepositoryRegistry::open(): fix usage of getCustomCounter().
Branches
Unknown
Tags
Unknown