[TASK] Small code cleanup in CacheHashCalculator