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>
Signed-off-by: Puja Karakoti <pujakarakoti070203@gmail.com>
  • Loading branch information
Puja authored and pujakarakoti07 committed Sep 18, 2024
1 parent 8e95c4c commit 2e86ee8
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 2e86ee8

Please sign in to comment.