[IPool] - _setDesiredDenorm
in memory record update serves no purpose
#10
Labels
_setDesiredDenorm
in memory record update serves no purpose
#10
Description
The method
_setDesiredDenorm
sets a desired denorm on the specified token. It first caches the record to the memory.And later it updates the
desiredDenorm
on the in-memory structure.record.desiredDenorm = desiredDenorm;
However this structure is never used after the update, and at the end of the method execution, the whole structure is discarded. Thus making the update useless.
Recommendation
Remove the line that updates
desiredDenorm
.The text was updated successfully, but these errors were encountered: