Skip to content

Commit

Permalink
Changed constructor visibilities to indicate intention to use factory.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Dec 13, 2024
1 parent 799d3fb commit 4d7400b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class AzureNavClientCredential extends ClientCredential {

public AzureNavClientCredential(String clientId, String clientSecret) {
AzureNavClientCredential(String clientId, String clientSecret) {
super(clientId, clientSecret);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AzureNavProxyClientCredential extends ClientCredential {

private final String tokenEndpoint;

public AzureNavProxyClientCredential(String tokenEndpoint, String clientId, String clientSecret) {
AzureNavProxyClientCredential(String tokenEndpoint, String clientId, String clientSecret) {
super(clientId, clientSecret);
this.tokenEndpoint = tokenEndpoint;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class AzureTrygdeetatenClientCredential extends ClientCredential {

private final String tokenEndpoint;

public AzureTrygdeetatenClientCredential(String tokenEndpoint, String clientId, String clientSecret) {
AzureTrygdeetatenClientCredential(String tokenEndpoint, String clientId, String clientSecret) {
super(clientId, clientSecret);
this.tokenEndpoint = tokenEndpoint;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
import static lombok.AccessLevel.PACKAGE;

@RequiredArgsConstructor(access = PACKAGE)
@Getter
@EqualsAndHashCode
public class ClientCredential {
Expand Down

0 comments on commit 4d7400b

Please sign in to comment.