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>
Signed-off-by: Puja Karakoti <--global>
  • Loading branch information
Puja authored and Puja Karakoti committed Sep 19, 2024
1 parent 8e95c4c commit 613ff0e
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 613ff0e

Please sign in to comment.