Skip to content

Commit

Permalink
Explicit Type Argument Replaced with <>
Browse files Browse the repository at this point in the history
Signed-off-by: Puja <pujakarakoti0702030@gmail.com>
  • Loading branch information
Puja committed Sep 17, 2024
1 parent 8e95c4c commit 187c79b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static List<Dependency> extractDependenciesWithTransitive(Project gradle

private static List<Dependency> extractDependencies(Project gradleProject,
Function<ResolutionResult, Set<? extends DependencyResult>> resolutionToDependency) {
return new ArrayList<Configuration>(gradleProject.getConfigurations()).stream()
return new ArrayList<>(gradleProject.getConfigurations()).stream()
.filter(GradleUtil::canBeResolved)
.flatMap(c -> {
final Map<ComponentIdentifier, ResolvedArtifactResult> artifacts = artifactMap(c);
Expand Down

0 comments on commit 187c79b

Please sign in to comment.