Split long line.

Fix warning from CheckStyle.

Correction for 1bd2fa80e24170fb0b5a9584e8dfb30b3648c759 commit.

No functional changes.
Move comment to separate line.

Fix warning from CheckStyle.

Correction for c83acac3ddb663fbb76372bb598acad42f91e2ee commit.

No functional changes.
Fix warning from CheckStyle about inline conditionals by adding special comment.

Should be in 681913b8b5228b6c8662206692277ae72726187f commit.

No functional changes.
LocaleUtils: replace method's body by method call.

Fix the following warning from PMD:
Rule:ConfusingTernary Priority:3 Avoid if (x != y) ..; else ..;.

No functional changes.