Add space after if (#1954)

This commit is contained in:
freddytuxworth 2018-11-01 18:33:09 +01:00 committed by neslihanturan
parent 042e4662f5
commit 3ccd690ce0

View file

@ -78,7 +78,7 @@ public class Utils {
* @return string with capitalized first character
*/
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);
} else {
return string;