It was just a code improvement...
the idea is: "why checks all the time if locale==currentLocale when it'll be done always once?"