Closed lemnik closed 1 year ago
Remove our usage of the capitalize function, which has been deprecated.
capitalize
Replace capitalize with replaceFirstChar { it.uppercaseChar() } which uses a non-locale-specific uppercase.
replaceFirstChar { it.uppercaseChar() }
Relied on existing tests
Goal
Remove our usage of the
capitalize
function, which has been deprecated.Design
Replace
capitalize
withreplaceFirstChar { it.uppercaseChar() }
which uses a non-locale-specific uppercase.Testing
Relied on existing tests