Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
tvernum committed Sep 8, 2023
1 parent bd252e7 commit 19f656c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.plugins.JavaBasePlugin;
import org.gradle.api.plugins.JavaLibraryPlugin;
import org.gradle.api.plugins.JavaPlugin;
import org.gradle.api.tasks.SourceSet;
import org.gradle.api.tasks.SourceSetContainer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import java.util.List;
import java.util.Map;
import java.util.Optional;

import javax.inject.Inject;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
import java.util.function.Predicate;
import java.util.regex.Pattern;
import java.util.stream.Collectors;

import javax.net.ssl.SSLContext;

import static java.util.Collections.sort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static LocalClusterSpecBuilder<ElasticsearchCluster> local() {
return locateBuilderImpl();
}

@SuppressWarnings({"unchecked", "rawtypes"})
@SuppressWarnings({ "unchecked", "rawtypes" })
private static LocalClusterSpecBuilder<ElasticsearchCluster> locateBuilderImpl() {
ServiceLoader<LocalClusterSpecBuilder> loader = ServiceLoader.load(LocalClusterSpecBuilder.class);
List<ServiceLoader.Provider<LocalClusterSpecBuilder>> providers = loader.stream().toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public DefaultLocalClusterSpecBuilder() {
public ElasticsearchCluster build() {
return new DefaultLocalElasticsearchCluster<>(
this::buildClusterSpec,
new DefaultLocalClusterFactory(new LocalDistributionResolver(new SnapshotDistributionResolver(new ReleasedDistributionResolver())))
new DefaultLocalClusterFactory(
new LocalDistributionResolver(new SnapshotDistributionResolver(new ReleasedDistributionResolver()))
)
);
}
}

0 comments on commit 19f656c

Please sign in to comment.