Skip to content

Commit

Permalink
Fix checkstyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ShammiL committed Dec 19, 2023
1 parent dd8ee9a commit 58cfc84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ private NodeStatus addNewVertex(Vertex vertex, DependencyNode newPkgDep, boolean
if (resolvedPkgDep.scope() == PackageDependencyScope.DEFAULT) {
for (Vertex depVertex : depGraph.get(vertex)) {
DependencyNode dependencyNode = vertices.get(depVertex);
DependencyNode newDependencyNode = new DependencyNode(dependencyNode.pkgDesc(), resolvedPkgDep.scope(),
dependencyNode.resolutionType());
DependencyNode newDependencyNode = new DependencyNode(dependencyNode.pkgDesc(),
resolvedPkgDep.scope(), dependencyNode.resolutionType());
vertices.put(depVertex, newDependencyNode);
if (resolutionOptions.dumpRawGraphs()) {
rawGraphBuilder.addDependency(resolvedPkgDep, newDependencyNode);

Check warning on line 337 in compiler/ballerina-lang/src/main/java/io/ballerina/projects/internal/PackageDependencyGraphBuilder.java

View check run for this annotation

Codecov / codecov/patch

compiler/ballerina-lang/src/main/java/io/ballerina/projects/internal/PackageDependencyGraphBuilder.java#L337

Added line #L337 was not covered by tests
Expand Down

0 comments on commit 58cfc84

Please sign in to comment.