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

@ -84,6 +84,12 @@ public class PageTitle {
return titleKey;
}
/**
* Gets the canonicalized title for displaying (such as "File:My example.jpg").
* </p>
* Essentially equivalent to getPrefixedText
* @return canonical title as a String
*/
@Override
public String toString() {
return getPrefixedText();