Added JavaDocs

Added JavaDocs to various files, namely License, Media, PageTitle, and Utils.
This commit is contained in:
Clay Tsay 2017-12-10 00:28:51 -08:00
parent f1edbfbedd
commit eeea0774b6
4 changed files with 120 additions and 0 deletions

View file

@ -51,6 +51,12 @@ public class Utils {
}
}
/**
* Capitalizes the first character of a string.
*
* @param string
* @return string with capitalized first character
*/
public static String capitalize(String string) {
return string.substring(0, 1).toUpperCase(Locale.getDefault()) + string.substring(1);
}