Fixed DefaultLocale lint api warnings
Fix all lint warnings