Makes local map stats provider check style compliant.

i like same functionality in single place. Can you create an enhancement issue for this?