Added some since javadoc annotations in WebManager

This commit is contained in:
Florian CUNY 2019-04-21 11:12:22 +02:00
parent 0f7c5895f5
commit e522d7155a

View File

@ -70,6 +70,7 @@ public class WebManager {
/**
* Returns the contents of the addons catalog (may be an empty list).
* @return the contents of the addons catalog.
* @since 1.5.0
*/
@NonNull
public List<JsonObject> getAddonsCatalog() {
@ -79,6 +80,7 @@ public class WebManager {
/**
* Returns the contents of the gamemodes catalog (may be an empty list).
* @return the contents of the gamemodes catalog.
* @since 1.5.0
*/
@NonNull
public List<JsonObject> getGamemodesCatalog() {
@ -88,6 +90,7 @@ public class WebManager {
/**
* Returns an optional that may contain the {@link GitHub} instance only and only if {@link Settings#isGithubDownloadData()} is {@code true}.
* @return the GitHub instance.
* @since 1.5.0
*/
@NonNull
public Optional<GitHub> getGitHub() {