mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rename parameter, improve formatting
This commit is contained in:
+4
-1
@@ -64,7 +64,8 @@ public class ArtifactsCollectionResolver extends DependencyResolverImpl implemen
|
||||
}
|
||||
|
||||
@Override
|
||||
public ExternalDepsResolutionResult resolveDependencies(@Nullable Configuration configuration, @Nullable String scope) {
|
||||
public ExternalDepsResolutionResult resolveDependencies(@Nullable Configuration configuration,
|
||||
@Nullable String scope) {
|
||||
if (configuration == null) {
|
||||
return ExternalDepsResolutionResult.EMPTY;
|
||||
}
|
||||
@@ -86,6 +87,8 @@ public class ArtifactsCollectionResolver extends DependencyResolverImpl implemen
|
||||
|
||||
ScopedExternalDependenciesFactory factory = new ScopedExternalDependenciesFactory(myProject, scope);
|
||||
|
||||
|
||||
|
||||
externalDeps.addAll(factory.processResolvedArtifacts(resolvedArtifacts, sourcesAndJavadocs));
|
||||
externalDeps.addAll(factory.processUnresolvedDeps(unresolvedDependencies));
|
||||
|
||||
|
||||
+2
-2
@@ -38,14 +38,14 @@ class DependencyResultsTransformer {
|
||||
DependencyResultsTransformer(@NotNull final Project project,
|
||||
@NotNull final SourceSetCachedFinder sourceSetFinder,
|
||||
@NotNull final Multimap<ModuleVersionIdentifier, ResolvedArtifact> artifactMap,
|
||||
@NotNull final Map<ComponentIdentifier, ComponentArtifactsResult> componentResultsMap,
|
||||
@NotNull final Map<ComponentIdentifier, ComponentArtifactsResult> auxiliaryArtifactsMap,
|
||||
@NotNull final Multimap<ModuleComponentIdentifier, ProjectDependency> configurationProjectDependencies,
|
||||
@Nullable final String scope) {
|
||||
myProject = project;
|
||||
mySourceSetFinder = sourceSetFinder;
|
||||
|
||||
myArtifactMap = artifactMap;
|
||||
myAuxiliaryArtifactsMap = componentResultsMap;
|
||||
myAuxiliaryArtifactsMap = auxiliaryArtifactsMap;
|
||||
myConfigurationProjectDependencies = configurationProjectDependencies;
|
||||
myScope = scope;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user