duncte123 / botCommons

Things I frequently need in my JDA bots
Apache License 2.0
10 stars 4 forks source link

Unclear code #5

Open Sanduhr32 opened 4 years ago

Sanduhr32 commented 4 years ago
duncte123 commented 4 years ago

StringUtils#capitalizeFully(String string) only capitalizes the first letter of each word. With fully in it's name, i'ld assume that it capitalizes the whole string.

"Capitalization (North American English) or capitalisation (British English) is writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case, in writing systems with a case distinction. The term also may refer to the choice of the casing applied to text."

Sanduhr32 commented 4 years ago

Fully is an adjective describing a term more accurate.