Skip to content

Commit

Permalink
Lessen change
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Oct 13, 2023
1 parent f7723f6 commit a79a749
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ public ResolverResult resolve(String groupId, String artifactId, String version)
System.out.println("Tree:");
System.out.println(dump);

NodeListGenerator generator = new NodeListGenerator();
rootNode.accept(new PreorderDependencyNodeConsumerVisitor(generator));
NodeListGenerator nlg = new NodeListGenerator();
rootNode.accept(new PreorderDependencyNodeConsumerVisitor(nlg));

return new ResolverResult(rootNode, generator.getFiles(), generator.getClassPath());
return new ResolverResult(rootNode, nlg.getFiles(), nlg.getClassPath());
}

public void install(Artifact artifact, Artifact pom) throws InstallationException {
Expand Down

0 comments on commit a79a749

Please sign in to comment.