Skip to content

Commit

Permalink
Fix bug in ApplicationDependencyManager.include
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka committed Dec 20, 2024
1 parent dfca27b commit 29adb8f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ public DependencyManager include(@NotNull Dependency... dependencies) {
public DependencyManager include(@NotNull Collection<Dependency> dependencies) {
dependencies = addMissingDependencies(dependencies);

DependencyManager manager = new DependencyManager(getDependencyPathProvider(), getLogger());
manager.addDependencies(dependencies);
DependencyManager dependencyManager = new DependencyManager(getDependencyPathProvider(), getLogger());
dependencyManager.addDependencies(dependencies);
synchronized (this.dependencyManager) {
dependencyManager.addRelocations(this.dependencyManager.getRelocations());
}
return manager;
return dependencyManager;
}

/**
Expand Down

0 comments on commit 29adb8f

Please sign in to comment.