mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add space after if (#1954)
This commit is contained in:
parent
042e4662f5
commit
3ccd690ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public class Utils {
|
||||||
* @return string with capitalized first character
|
* @return string with capitalized first character
|
||||||
*/
|
*/
|
||||||
public static String capitalize(String string) {
|
public static String capitalize(String string) {
|
||||||
if(string.length() > 0) {
|
if (string.length() > 0) {
|
||||||
return string.substring(0, 1).toUpperCase(Locale.getDefault()) + string.substring(1);
|
return string.substring(0, 1).toUpperCase(Locale.getDefault()) + string.substring(1);
|
||||||
} else {
|
} else {
|
||||||
return string;
|
return string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue