Cleaned up the License.java

This commit is contained in:
Mathias Wagner 2023-09-09 22:10:50 +02:00
parent a426a72e50
commit f8057a59a5
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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<String> groups, ArrayList<String> permissions,
@ -42,12 +43,12 @@ public class License {
* <p>
* The status can be one of the following:
* </p>
* <ul>
* <li>{@link LicenseStatus#VALID}</li>
* <li>{@link LicenseStatus#EXPIRED}</li>
* <li>{@link LicenseStatus#INVALID}</li>
* <li>{@link LicenseStatus#MAX_USES_REACHED}</li>
* </ul>
* <ul>
* <li>{@link LicenseStatus#VALID}</li>
* <li>{@link LicenseStatus#EXPIRED}</li>
* <li>{@link LicenseStatus#INVALID}</li>
* <li>{@link LicenseStatus#MAX_USES_REACHED}</li>
* </ul>
*
* @return the status of the license
*/