diff --git a/src/main/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestService.java b/src/main/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestService.java index 5224814a..e40d6537 100644 --- a/src/main/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestService.java +++ b/src/main/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestService.java @@ -10,7 +10,7 @@ @Service @Slf4j public class AuthorizeClientCredentialsRequestService { - private final static String PIATTAFORMA_UNITARIA_CLIENT_ID_PREFIX = "piattaforma-unitaria_"; + private static final String PIATTAFORMA_UNITARIA_CLIENT_ID_PREFIX = "piattaforma-unitaria_"; private final ClientService clientService; private final ClientMapper clientMapper; private final String piattaformaUnitariaClientSecret; diff --git a/src/test/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestServiceTest.java b/src/test/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestServiceTest.java index cedf7bc6..937ac58f 100644 --- a/src/test/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestServiceTest.java +++ b/src/test/java/it/gov/pagopa/payhub/auth/service/a2a/AuthorizeClientCredentialsRequestServiceTest.java @@ -14,8 +14,6 @@ import java.util.Optional; import java.util.UUID; -import java.util.regex.Matcher; -import java.util.regex.Pattern; @ExtendWith(MockitoExtension.class) class AuthorizeClientCredentialsRequestServiceTest {