From f8057a59a58b9438b0c44f7289325d930a51c401 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 9 Sep 2023 22:10:50 +0200 Subject: [PATCH] Cleaned up the License.java --- .../java/de/licenseapi/entities/License.java | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/main/java/de/licenseapi/entities/License.java b/src/main/java/de/licenseapi/entities/License.java index af41ea3..d77b4bc 100644 --- a/src/main/java/de/licenseapi/entities/License.java +++ b/src/main/java/de/licenseapi/entities/License.java @@ -16,13 +16,14 @@ public class License { /** * Creates a new license object with the given parameters - * @param status The status of the license - * @param licenseKey The license key - * @param groups The groups of the license - * @param permissions The permissions of the license - * @param meta The meta information of the license - * @param maxUses The maximum amount of uses of the license - * @param currentUses The current amount of uses of the license + * + * @param status The status of the license + * @param licenseKey The license key + * @param groups The groups of the license + * @param permissions The permissions of the license + * @param meta The meta information of the license + * @param maxUses The maximum amount of uses of the license + * @param currentUses The current amount of uses of the license * @param expirationDate The expiration date of the license */ public License(LicenseStatus status, String licenseKey, ArrayList groups, ArrayList permissions, @@ -42,12 +43,12 @@ public class License { *

* The status can be one of the following: *

- *
    - *
  • {@link LicenseStatus#VALID}
  • - *
  • {@link LicenseStatus#EXPIRED}
  • - *
  • {@link LicenseStatus#INVALID}
  • - *
  • {@link LicenseStatus#MAX_USES_REACHED}
  • - *
+ *
    + *
  • {@link LicenseStatus#VALID}
  • + *
  • {@link LicenseStatus#EXPIRED}
  • + *
  • {@link LicenseStatus#INVALID}
  • + *
  • {@link LicenseStatus#MAX_USES_REACHED}
  • + *
* * @return the status of the license */