[Sonar] It says it's critical to avoid keySet iteration...
Readable constants + removed trailing comments