From 538b4ecd0b86646370eecd4f8a6aea1610cc3b31 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Sun, 14 Jan 2024 13:59:23 +0100 Subject: [PATCH] added javadoc --- .../java/org/cryptomator/ui/keyloading/hub/HubConfig.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/HubConfig.java b/src/main/java/org/cryptomator/ui/keyloading/hub/HubConfig.java index f8ec7b854..84cac8ed2 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/HubConfig.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/HubConfig.java @@ -1,7 +1,6 @@ package org.cryptomator.ui.keyloading.hub; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.net.URI; @@ -19,6 +18,12 @@ public class HubConfig { @Deprecated // use apiBaseUrl + "/devices/" public String devicesResourceUrl; + /** + * Get the URI pointing to the /api/ base resource. + * + * @return /api/ URI + * @apiNote URI is guaranteed to end on / + */ public URI getApiBaseUrl() { if (apiBaseUrl != null) { // make sure to end on "/":