Skip to content

Commit

Permalink
refactor: Common static analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed May 20, 2024
1 parent 47b334d commit e377d7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public interface ConfigurableHttpConnectionFactory extends HttpConnectionFactory {

default void addConfiguration(MultipleJGitEnvironmentProperties environmentProperties) throws Exception {
addConfiguration(environmentProperties, Collections.EMPTY_LIST);
addConfiguration(environmentProperties, Collections.emptyList());
}

void addConfiguration(MultipleJGitEnvironmentProperties environmentProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public MultipleJGitEnvironmentRepositoryFactory(ConfigurableEnvironment environm
TransportConfigCallbackFactory transportConfigCallbackFactory,
GitCredentialsProviderFactory gitCredentialsProviderFactory) {
this(environment, server, connectionFactory, transportConfigCallbackFactory, gitCredentialsProviderFactory,
Collections.EMPTY_LIST);
Collections.emptyList());
}

public MultipleJGitEnvironmentRepositoryFactory(ConfigurableEnvironment environment, ConfigServerProperties server,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private HttpClient4Support() {

public static HttpClientBuilder builder(HttpEnvironmentRepositoryProperties environmentProperties)
throws GeneralSecurityException {
return builder(environmentProperties, Collections.EMPTY_LIST);
return builder(environmentProperties, Collections.emptyList());
}

public static HttpClientBuilder builder(HttpEnvironmentRepositoryProperties environmentProperties,
Expand Down

0 comments on commit e377d7d

Please sign in to comment.