From 310605329adc4b7a93b74a597f5bea90b7e790cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mino?= Date: Fri, 20 Dec 2024 08:43:15 +0100 Subject: [PATCH] chore(code-style): fix existing checkstyle violations for rule FinalClass --- .../main/infrastructure/primary/RestAccount.java.mustache | 2 +- .../primary/CustomClaimConverter.java.mustache | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/generator/server/springboot/mvc/security/oauth2/account/main/infrastructure/primary/RestAccount.java.mustache b/src/main/resources/generator/server/springboot/mvc/security/oauth2/account/main/infrastructure/primary/RestAccount.java.mustache index f33be9f5999..c0dfdacd9a5 100644 --- a/src/main/resources/generator/server/springboot/mvc/security/oauth2/account/main/infrastructure/primary/RestAccount.java.mustache +++ b/src/main/resources/generator/server/springboot/mvc/security/oauth2/account/main/infrastructure/primary/RestAccount.java.mustache @@ -52,7 +52,7 @@ final class RestAccount { return roles; } - private static class RestAccountBuilder { + private static final class RestAccountBuilder { private String username; private String name; diff --git a/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/CustomClaimConverter.java.mustache b/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/CustomClaimConverter.java.mustache index e0423284140..2edc4da3275 100644 --- a/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/CustomClaimConverter.java.mustache +++ b/src/main/resources/generator/server/springboot/mvc/security/oauth2/core/main/infrastructure/primary/CustomClaimConverter.java.mustache @@ -124,7 +124,7 @@ class CustomClaimConverter implements Converter, Map claim, ObjectNode user) { @@ -140,7 +140,7 @@ class CustomClaimConverter implements Converter, Map claim, ObjectNode user) { @@ -152,7 +152,7 @@ class CustomClaimConverter implements Converter, Map claim, ObjectNode user) {