From 45161953db804b18a979e01f7e9bde0c0ef5c4db Mon Sep 17 00:00:00 2001 From: Braydon Date: Thu, 1 Jun 2023 00:36:13 -0400 Subject: [PATCH] doc updates --- .../src/main/java/me/braydon/example/LicenseExample.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Example/src/main/java/me/braydon/example/LicenseExample.java b/Example/src/main/java/me/braydon/example/LicenseExample.java index 703b068..11b12f9 100644 --- a/Example/src/main/java/me/braydon/example/LicenseExample.java +++ b/Example/src/main/java/me/braydon/example/LicenseExample.java @@ -45,6 +45,15 @@ public final class LicenseExample { .serializeNulls() .create(); + /** + * Check the license with the given + * key for the given product. + * + * @param key the key to check + * @param product the product the key belongs to + * @return the license response + * @see LicenseResponse for response + */ @NonNull public static LicenseResponse check(@NonNull String key, @NonNull String product) { String hardwareId = getHardwareId(); // Get the machine's hardware id