feat: use the same private constructor comment within the whole repository

This commit is contained in:
zihluwang
2025-04-02 20:54:17 +08:00
parent 5f892b34b0
commit 68bf18d944
12 changed files with 13 additions and 15 deletions
@@ -155,8 +155,7 @@ public class AuthzeroTokenResolver implements TokenResolver<DecodedJWT> {
private ECPublicKey publicKey;
/**
* Private constructor prevents this class being initialised at somewhere it should not
* be initialised.
* Private constructor to prevent instantiation of this utility class.
*/
private Builder() {
}
@@ -643,7 +642,7 @@ public class AuthzeroTokenResolver implements TokenResolver<DecodedJWT> {
);
/**
* Private constructor prevent this class being initialised mistakenly.
* Private constructor to prevent instantiation of this utility class.
*
* @param jtiCreator a creator that can create JWT id
* @param algorithm an algorithm to sign this JWT