Skip to content

Commit

Permalink
Merge pull request #6291 from ropalka/WFCORE-7106
Browse files Browse the repository at this point in the history
[WFCORE-7106] Use ModuleDependency.Builder instead of deprecated ModuleDependency ctor in Logging
  • Loading branch information
yersan authored Dec 19, 2024
2 parents 6fdd6fe + 63cdae6 commit 145cbb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void deploy(final DeploymentPhaseContext phaseContext) {
try {
LoggingLogger.ROOT_LOGGER.tracef("Adding module '%s' to deployment '%s'", moduleId, deploymentUnit.getName());
moduleLoader.loadModule(moduleId);
moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, moduleId, false, false, moduleDep.isImportServices(), false));
moduleSpecification.addSystemDependency(ModuleDependency.Builder.of(moduleLoader, moduleId).setImportServices(moduleDep.isImportServices()).build());
} catch (ModuleLoadException ex) {
LoggingLogger.ROOT_LOGGER.debugf("Module not found: %s", moduleId);
}
Expand Down

0 comments on commit 145cbb4

Please sign in to comment.