I simply want to ask why `toUpperCase()` and `toL...
# announcements
d
I simply want to ask why
toUpperCase()
and
toLowerCase()
got deprecated in
1.5
uppercase()
and
lowercase()
seems to have exactly same code, so why rename such a common method name after such stability of the language?
b
seems to have exactly same code
no, toUpperCase uses Locale.getDefault while uppercase uses Locale.ROOT
☝️ 6
d
oh, thanks for clearing the doubt