GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

DependencyGraphResult.toClassPathResult

Open
#1,397 0 comments 0 reactions 0 assignees View on GitHub
p3 Tech Debt
Dominant language
Java
Stars
163
Forks
80
PR merge metrics
No merged PRs in 30d

Description

ClassPathBuilder and LinkageCheckerRule both have code to convert a DependencyGraphResult into a ClassPathResult. (Find this code by seeing who calls the ClassPathResult constructor outside of tests.)

Instead DependencyGraphResult should have a toClassPathResult method that returns a classpath for the graph.

P.S. There shouldn't be any "Result" classes. Just ClassPath and DependencyGraph.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.